65.9K
CodeProject is changing. Read more.
Home

Checking for "any character" using regular expressions in multiline text

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Feb 7, 2012

CPOL
viewsIcon

11720

\S does not / did not work on all versions of RegExp on Microsoft JScript / VBScript (sorry to be vague - I just recall having to avoid it because it was flakey). Instead you could try Start([.|\n]*)End (match everything except newline and newline)Update: Checked some old code: I could...

\S does not / did not work on all versions of RegExp on Microsoft JScript / VBScript (sorry to be vague - I just recall having to avoid it because it was flakey). Instead you could try Start([.|\n]*)End (match everything except newline and newline) Update: Checked some old code: I could not get \S to work in VBScript (don't comment on this) in a module originally designed for MS-IE4.0.