Login | |
|
 |
RE: Regular Expression help - 3/13/2007 6:52:44 AM
|
|
 |
|
| |
ebgreen
Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
|
Option Explicit Dim oRE : Set oRE = New Regexp Dim strTest oRE.pattern = "(.)\1{2,}" strTest = "!A9eggg&h8n+" WScript.Echo CStr(oRE.Test(strTest)) strTest = "!A9eggt&h8n" WScript.Echo CStr(oRE.Test(strTest))
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|