Anything For Knowledge In IT
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment