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 3
Title Test Details Feet and Inches
Expression
^[0-9,]+['][-](\d|1[01])"$
Description
Feet and Inches. Only allows 1 to 11". Feet can be 0 to higher. No fractions.
Matches
49'-10" | 100'-0" | 0'-2"
Non-Matches
100'-13" | 15'-3 1/2" | 200'
Author Rating: Not yet rated. Byron Hartzler
Title Test Details All Capital Letters No Numbers
Expression
^([A-Z]+\s*[A-Z]+)$
Description
1 or 2 words with 1 or no space. Words are in all capital letters. Nothing in front or end of word(s).
Matches
JOHN DOE | BOB | MELTON HILL
Non-Matches
John 3 | THE CHEROKEE LAKE | Bill
Author Rating: Not yet rated. Byron Hartzler
Title Test Details Positive Numbers
Expression
^[1-9]+[0-9]*$
Description
Matches all Positive Numbers not including zero (0). Does not allow decimals.
Matches
1 | 12 | 1000
Non-Matches
0 | -2 | 1.00
Author Rating: Not yet rated. Byron Hartzler
   Displaying page 1 of 1 pages; Items 1 to 3

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