Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regular expressions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01224420
Message ID:
01224668
Views:
16
When I run your code, I get an error - unknown com status. Do you think my pc has vbscript disabled?
LPARAMETERS tcnarr
* ssn pattern
lcExpression ="(\b[0-9]{3}-[0-9]{4)\b)"
loRegExp = CreateObject("VBScript.RegExp")
loRegExp.IgnoreCase = .T.
loRegExp.Pattern = LCexpression
RETURN loRegExp.Test(tcnarr)
John
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform