![]() Topic awaiting preservation: Regular Expression - mr.MaX your favourite stuff :) (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Stockholm, Sweden |
![]() Hi everybody, I have a pretty coool question for you guys. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Although, I don't work in ASP, the following code should do the trick (it's actually JavaScript, set to run on server): |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: Stockholm, Sweden |
![]() Sorry Ini but I have a tough time to see how I can manage to make a similar function to mr.maX's with that replace function. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() InI, replace() VB function doesn't except regular expressions and what Smash wants to do (he wants to implement some sort of UBB Code) should be done by using regular exspressions (didn't you notice that he wrote "<zork>ANYTHING</zork>" as match string and "<a href="test.asp?name=ANYTHING">ANYTHING</a>" as replace string). |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() That won't do what he wants... |