The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Movie Server


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

RE: OT: Quickie RegEx question for gurus.



Hi Kieran,

Quoting "Broadfoot, Kieran J" <Kieran.Broadfoot@xxxxxxx>:
> You are pretty close:

thanks

> m/^\w{3,}$/s
>
> which will only match alphanumeric strings of three or more
characters.

no cigar I'm afraid - I get exactly the same results :(
I'm actually doing it in javascript under IE - I didn't like to say before
in
case I frightened you *nix guys away :D  The regex syntax is the same
though.
The matching works fine as long as there are no carriage returns in the
text
(which is a multi line input box in a web page).....

thanks,

Tony



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.