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 Signed Integers with Commas
Expression
(^\-|\+)?([1-9]{1}[0-9]{0,2}(\,\d{3})*|[1-9]{1}\d{0,})$|^0?$
Description
Allows any integer, signed (+/-) or not, with or without commas, or zero (0), or blank.
Matches
1,250|+235|-1|0
Non-Matches
abc|-0|1,0
Author Rating: Not yet rated. Richard
   Displaying page 1 of 1 pages; Items 1 to 1

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