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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Signed Integer
Expression
^(\+|-)?\d+$
Description
Matches any signed integer.
Matches
-34 | 34 | +5
Non-Matches
abc | 3.1415 | -5.3
Author Rating: The rating for this expression. Steven Smith
Source http://www.aspalliance.com/wiseasp/aboutregularexpression.asp
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Problem
Name: pavan
Date: 5/20/2008 3:02:03 AM
Comment:
this RExp is working in C#.net but not in ASP.NET


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