On Wednesday, August 13, 2003, at 01:33 PM, Jim Witte wrote:


What kind of regular expression can I use to detect if a string is entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" but that didn't work.

Will this work?


"\A\s*\z"

That forces the start and end as part of the pattern.

Dar Scott


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to