RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^[0-9]{1,}(,[0-9]+){0,}$
Description
It could be use to validate html input form (checkbox, optionbox, selectbox) when you have multiple numeric value under one field name. The validation is that the user have at lease chose one or more!
Matches
1111 | 47,26,2,1,1111,12 | 25,1245,2122,23232
Non-Matches
111, | 1a1,111,1212,23 | 11aa,aaa,asas,asa
Author Rating: The rating for this expression. Nicholas Rathwell
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials