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 UK Telephone Numbers
Expression
^(((\+|00)?44|0)([123578]{1}))(((\d{1}\s?\d{4}|\d{2}\s?\d{3})\s?\d{4})|(\d{3}\s?\d{2,3}\s?\d{3})|(\d{4}\s?\d{4,5}))$
Description
Validates UK phone numbers based on the Wikipedia page http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom including the international dialing code 0044/+44/44
Matches
0XX XXXX XXXX | 0XXX XXX XXXX | 0XXXX XXXXXX
Non-Matches
04XXX XXXXXX | 06XXX XXXXXX | 0XXXXXXX
Author Rating: The rating for this expression. Paul Verhulpen
Title Test Details Non localised currency format
Expression
^(\d?)*\.?(\d{1}|\d{2})?$
Description
Expression to validate currency formatted numbers without the currency symbol. This is an updated version of my previous expression and now works in ASP.NET regular expression validators.
Matches
153 | 33.48 | 786.1 | 1567863483.33
Non-Matches
-123 | 8524.258 | eo45
Author Rating: The rating for this expression. Paul Verhulpen
   Displaying page 1 of 1 pages; Items 1 to 2

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