I'm trying to validate a string input using the RegExp object. One of the things I want to watch out for is the entry but I'm having problems putt...as on how I can get around this?
Cheers
Pix
I have firefox here and IE 6 but it works ok here, no need to escape the < character. Maybe you need more instances of <script to be replaced, to do that make the regexp global (g)
Actually, I just noticed that it is picking it up. Sorry about that - I've got a script matching up the entry to a list of possible SQL injection attacks and one that sanitises the content of the entry - they both work in conjunction and, well, were working a little too well!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.