Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REGEXP

Status
Not open for further replies.

100dtl

Programmer
Aug 18, 2003
313
0
0
GB
Hi

I'm trying to create a RegExp with this string so each Exp is separated, is this the correct object

X.21 V.35 G.703

...so each exp would be X.21, V.35 etc....
 
Why not use the SPLIT() function?

str = "X.21 V.35 G.703"

strArr = split(str," ")

response.write strArr(0) 'gives "X.21"

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top