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 Croatian Phone Number (old style)
Expression
^((\d{2,4})/)?((\d{6,8})|(\d{2})-(\d{2})-(\d{2,4})|(\d{3,4})-(\d{3,4}))$
Description
Croatian phone numbers (old style). Area code and phone number, area code optional. Area code in $2 (if specified) phone number is in $4 or $5+$6+$7 or $8+$9.
Matches
01/4444-555, 01/44-55-66, 042/333-999, 0800/556677, 1234567
Non-Matches
(01) 3344556, 012233445, 042555666
Author Rating: The rating for this expression. Stjepan Obranković
Title Test Details EU Date
Expression
^(([1..9])|(0[1..9])|(1\d)|(2\d)|(3[0..1])).((\d)|(0\d)|(1[0..2])).(\d{4})$
Description
This pattern can be used to match EU style dates of formad d.m.yyyy where d and m can be two digits d <= 31 and m <= 12
Matches
10.04.1985, 10.4.1985, 05.05,2007, 30.2.2000
Non-Matches
33.13.2000, 1.19.12,10/04/1985, 0.0.2000
Author Rating: Not yet rated. Stjepan Obranković
   Displaying page 1 of 1 pages; Items 1 to 3

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