Click here to Skip to main content
12,249,797 members (54,988 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

5.5K views
Posted

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

, 8 Feb 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
\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)

Share

About the Author

jsc42
Software Developer DDC OS
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralMy trusty "JavaScript - The Definitive Guide" (1998 - 3rd Ed... Pin
jsc427-Feb-12 4:04
memberjsc427-Feb-12 4:04 
General[.\n] or [.\r\n]? Pin
Chris Maunder7-Feb-12 2:41
adminChris Maunder7-Feb-12 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 8 Feb 2012
Article Copyright 2012 by jsc42
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid