A nice intro to the concept here
http://www.4guysfromrolla.com/webtech/090199-1.shtml
More here...
http://www.4guysfromrolla.com/webtech/RegularExpressions.shtml
and this is an example of how to do it in Vbscript (ASP)
hr1 = "text to be searched here"
Set regEx = New RegExp
regEx.Pattern = "put the pattern here"
hr1replace = regEx.Replace(hr1,"")
Obviously, lines 1 & 3 to be customised to whatever you are doing.
No comments:
Post a Comment