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 6
Title Test Details CA Drivers License
Expression
"^[A-Z]{1}\d{7}$
Description
Matches California Drivers License Numbers. A Letter followed by 7 Numbers. I have not been able to find a site that shows only the number/letters CA uses, so this will have to do for now.
Matches
N1234567 | A1234567 | C1234567
Non-Matches
123A4567 | 1234567A | AAA12345
Author Rating: The rating for this expression. Robert Hall
Title Test Details US Street Address Only
Expression
^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$
Description
This will accept any 6 digit street address only, with min of two and up to four street names.
Matches
123456 My Street | 123 West Main St | 12345 Via De La Rosa
Non-Matches
123 Street | 1234 W Side Street
Author Rating: The rating for this expression. Robert Hall
Title Test Details US Phone Number
Expression
\(\d{3}\)\040\d{3}-\d{4}
Description
Phone Number in (###) ###-#### Format Only
Matches
(717) 899-9998
Non-Matches
(717)999-9999 | 999-999-9999
Author Rating: Not yet rated. Robert Hall
Title Test Details US Phone So CA Area Codes
Expression
\(714|760|949|619|909|951|818|310|323|213|323|562|626\)\040\d{3}-\d{4}
Description
Phone Numbers Format (###) ###-#### with only SoCal Area Codes. Use or replace with Area Codes You need.
Matches
(714) 123-4567 | (949) 555-5555 | (323) 467-1070
Non-Matches
(808) 666-6666 | (111)123-4567 | Any Non SoCal Area Code
Author Rating: Not yet rated. Robert Hall
Title Test Details US Phone So CA Area Codes 2
Expression
714|760|949|619|909|951|818|310|323|213|323|562|626-\d{3}-\d{4}
Description
Phone Number in ###-###-#### Format Only with Southern California Area Codes. Use or Replace Area Codes
Matches
714-333-3333 | 818-222-2222 | 323-333-3333
Non-Matches
808-123-4567 | (808) 123-4567 | Any Non So Cal Area Code
Author Rating: Not yet rated. Robert Hall
Title Test Details CA Contractors License
Expression
\d{6}
Description
Simple 6 digit CA contractors License #
Matches
715686 | 654387 |
Non-Matches
765-567
Author Rating: Not yet rated. Robert Hall
   Displaying page 1 of 1 pages; Items 1 to 6

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