Monday, December 19, 2011

Regex for allowing only digits and comma with no leading and trailing comma

Hi Friends
Again googled a lot for it ..but for you finally solution is
/^(\d+(\,\d+)*|(\d+))?$/

Keep Regexing

No comments:

Post a Comment