Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / programming / regular-expression

Checking for any character using regular expressions in multiline text

0.00/5 (No votes)
8 Feb 2012CPOL 11.7K  
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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)