Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 objRegExp.Pattern
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mafifi
Junior Member

USA
308 Posts

Posted - 12 March 2002 :  18:51:41  Show Profile  Send mafifi an ICQ Message
Can someone explain to me what line "3" does?
Dim objRegExp
Set objRegExp = New RegExp
objRegExp.Pattern = "/\w+/"


Thanks,

Mo

crash
Advanced Member

Netherlands
2064 Posts

Posted - 12 March 2002 :  18:53:43  Show Profile  Visit crash's Homepage
which file are we talking about?



Crash's Site | Crash is from
Go to Top of Page

mafifi
Junior Member

USA
308 Posts

Posted - 12 March 2002 :  19:09:59  Show Profile  Send mafifi an ICQ Message
quote:

which file are we talking about?



It is an application file on an Intranet Site.

Thanks,

Mo
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 12 March 2002 :  19:18:30  Show Profile
It means you want to match one or more occurances of a word character (a-z A-Z _ 0-9). Check here for more info on Regular Expressions:

http://msdn.microsoft.com/library/en-us/script56/html/reconIntroductionToRegularExpressions.asp?frame=true

Nikkol
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 12 March 2002 :  19:21:24  Show Profile
If you are using VBScript though I think it really should be:
objRegExp.Pattern = "^\w+$"

Nikkol
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07