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 Slovenian (Mobile) phone number
Expression
^(([0-9]{3})[ \-\/]?([0-9]{3})[ \-\/]?([0-9]{3}))|([0-9]{9})|([\+]?([0-9]{3})[ \-\/]?([0-9]{2})[ \-\/]?([0-9]{3})[ \-\/]?([0-9]{3}))$
Description
I'm using this to match Slovenian phone numbers. It's a bit rusty... If you have better version or updated please send it to me.
Matches
031 123 456 | 031-123-456 | 031/123/456 | 031123456 | +386 31 123 456 | +38631 123 456 | +386-41-041-041 | +386/41/041/041 | 386 41 041 041 | 38641041041
Non-Matches
0038631123456
Author Rating: The rating for this expression. Oto Brglez
   Displaying page 1 of 1 pages; Items 1 to 1

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