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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 101/ or 101-
Expression
^\d[0-9]*[-/]\d[0-9]*$
Description
\d[0-9]* 1)start should be from 0 to 9, any digit number, should not be blank. [-/] 2)- or / compulsary. \d[0-9]* 3)start should be from 0 to 9, any digit number, should not be blank. 4)Blank not allowed
Matches
101/
Non-Matches
AB111/
Author Rating: Not yet rated. Bhushan
Source Created Own
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

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