Shoutbox
latest posts
member list
search
rules
contact
login
|
register
|
shoutbox
What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox
»
MsgHelp Archive
»
Messenger Plus! for Live Messenger
»
Scripting
» [ScriptingHelp] Match Whole Words Only
[ScriptingHelp] Match Whole Words Only
Author:
Message:
CookieRevised
Elite Member
Posts: 15517
Reputation:
173
– /
/
Joined: Jul 2003
Status:
Away
RE: [ScriptingHelp] Match Whole Words Only
Forget using split() and all other things. Study and use the regular expression object...
For starters, download and read the
JScript 5.6 Documentation
> "Regular Expression Object" and "Regular Expression Syntax"
There are also many threads on these forums which are about regular expressions, including snippets of code which will do what you want.
Search the Scripting forum for ".replace("...
eg:
*
CookieRevised's reply to how do i replace this text?
*
CookieRevised's reply to [Question] Isn't string.replace supposed to replace all occurences ?
This post was edited on 02-21-2007 at 01:05 AM by
CookieRevised
.
.-= A 'frrrrrrrituurrr' for Wacky =-.
02-21-2007 01:00 AM
«
Next Oldest
Return to Top
Next Newest
»
Messages In This Thread
[ScriptingHelp] Match Whole Words Only
- by garfieldman on 02-21-2007 at 12:56 AM
RE: [ScriptingHelp] Match Whole Words Only
- by CookieRevised on 02-21-2007 at 01:00 AM
RE: [ScriptingHelp] Match Whole Words Only
- by garfieldman on 02-21-2007 at 01:04 AM
Threaded Mode
|
Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe
|
Add to Favorites
Rate This Thread:
Select Rating...
5 ... Best
4
3 ... Average
2
1 ... Worst
Forum Jump:
Please select one:
--------------------
Latest Posts
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Open Forum
Forum Rules:
You
cannot
post new threads
You
cannot
post replies
You
cannot
post attachments
You
can
edit your posts
HTML is
Off
myCode is
On
Smilies are
On
[img] Code is
On