Welcome To Snipplr
Everyone's Recent ASP Snippets Tagged regex
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2
947
posted 14 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
760
posted 15 years ago by ginoplusio
Easy functions, comments in code.
From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1
623
posted 16 years ago by jc001
« Prev 1 Next »