The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Quickie RegEx question for gurus.


  • To: ukha_d@xxxxxxx
  • Subject: Re: OT: Quickie RegEx question for gurus.
  • From: "Graham Howe" <graham@xxxxxxx>
  • Date: Thu, 08 Jan 2004 12:23:46 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx


> That is effectively what I want the regex to do - to ignore them.
> The only other way would be to loop around the string and strip em
manually (up
> to 7000 chars) which would be too slow.....
>

how about mystring = mystring.split('\n').join('#');

or alterntively, I think you can use regexp.replace in javascript,
but I don't know the exact syntax.


UK Home Automation Meet 2004 - BOOK NOW!
http://www.ukha2004.com

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx


Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.