Welcome To Snipplr

Everyone's Recent ASP Snippets Tagged regex

« Prev 1 Next »
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 137 posted 10 years ago by wizard04
similar to php ereg_replace. You can pass this pattern [^A-Za-z0-9] and "" to remove from string non alphanumerical chars: s = ereg_replace("[^A-Za-z0-9]","",s) I use this function to clean input fields...
0 109 posted 11 years ago by ginoplusio
Easy functions, comments in code. From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1 78 posted 12 years ago by jc001
« Prev 1 Next »