ASP.NET, JQuery - Sharing regular expressions
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2009-10-18T18:20:27Z
Indexed on
2010/04/26
1:23 UTC
Read the original article
Hit count: 378
If you have a fair number of regular expressions used by both client (javascript) and server side code (C#, vb.net) and want to store them in one place to avoid duplication, where do you store them?
I could use registerscript and write out the regex as strings, but just wondering if there is something more elegant.
© Stack Overflow or respective owner