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 2
Title Test Details Pattern Title
Expression
^[a-zA-Z\d]+(([\'\,\.\- #][a-zA-Z\d ])?[a-zA-Z\d]*[\.]*)*$
Description
Address It has now been enhanced to accept # too!!
Matches
393 12th St. City, State Zip code
Non-Matches
12 street @@@
Author Rating: Not yet rated. Sadaf Ahmed
Title Test Details Pattern Title
Expression
^([a-zA-Z]+(.)?[\s]*)$
Description
This regular expression matches titles. The length of the title has not been restricted. It allows only alphabets in the title and takes zero or one . after the title. Also it allows trailing spaces.
Matches
Mr. | Sr | Mr
Non-Matches
Mr.. | 12M | .Mr
Author Rating: Not yet rated. Sadaf Ahmed
   Displaying page 1 of 1 pages; Items 1 to 2

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