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 Address Parser 2
Expression
^(\d{2,})\s?(\w{0,5})\s([a-zA-Z]{2,30})\s([a-zA-Z]{2,15})\s?(\w{0,5})\s?([a-zA-Z]{0,15})\.?\s?(\d{0,5})$
Description
This is the same Address Parser as the one by NoBug but I extended it to allow you to add apt and apt# at the end. The original can be found in the source link.
Matches
101 W Main St | 101 W Main St. N | 101 W Main St N Apt 5
Non-Matches
Main St | 55a Main St | 123 Street
Author Rating: The rating for this expression. Prechar Xiong
   Displaying page 1 of 1 pages; Items 1 to 1

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