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 9
Title Test Details Companies House
Expression
^[0-9]{3}[-|/]{1}[0-9]{6}[-|/]{1}[0-9]{6}$
Description
This Regular Expression is used to match the Companies House 503 Reference number that is given when a customer places an online order.www.companieshouse.gov.uk
Matches
503-123456-123456
Non-Matches
abc-abcdef-abcdef
Author Rating: The rating for this expression. Alex Richards
Title Test Details Company Number - Limited
Expression
^[0-9]{8}$
Description
Thie expression is used to match a United Kingdom Limited Company number in the UK. This is for Companies registered in England & Wales ONLY. This does not include Scotland.
Matches
01234567
Non-Matches
01d34567
Author Rating: Not yet rated. Alex Richards
Title Test Details Company Number - Limited SCOTLAND
Expression
^[SC]{2}[0-9]{6}$
Description
Thie expression is used to match a United Kingdom Limited Company number in the UK. This is for Companies registered in Scotland. This is not for Companies registered in England & Wales.
Matches
SC123456
Non-Matches
SC23561a
Author Rating: Not yet rated. Alex Richards
Title Test Details New Style UK Number Plates
Expression
^[A-Za-z]{2}[ ]{0,1}[0-9]{2}[ ]{0,1}[a-zA-Z]{3}$
Description
This expression can be used to check against the format of a United Kingdom Vehicle Registration plate in the new style.
Matches
AB06CDE or AB 06 CDE or AB06 CDE or AB 06CDE
Non-Matches
Anything that's not in the above format
Author Rating: Not yet rated. Alex Richards
Title Test Details Email Address
Expression
^[a-zA-z0-9]+[@]{1}[a-zA-Z]+[.]{1}[a-zA-Z]+$
Description
Expression to check for .com email addresses
Matches
test1@test.com or test@test1.com
Non-Matches
test@test.co.uk
Author Rating: Not yet rated. Alex Richards
Title Test Details ISBN Checker
Expression
^[ISBN]{4}[ ]{0,1}[0-9]{1}[-]{1}[0-9]{3}[-]{1}[0-9]{5}[-]{1}[0-9]{0,1}$
Description
Expression to check for a valid ISBN number
Matches
ISBN 0-596-00681-0
Non-Matches
Anything that's not in the above format
Author Rating: Not yet rated. Alex Richards
Title Test Details UK Mobile Phone Number Check
Expression
^[0-9]{0,5}[ ]{0,1}[0-9]{0,6}$
Description
UK Mobile phone number check
Matches
01234 567890
Non-Matches
Anything that's not in the above format
Author Rating: Not yet rated. Alex Richards
Title Test Details Companies House
Expression
[cC]{1}[0-9]{0,7}
Description
Companies House Postal Search account number expression
Matches
C1234567
Non-Matches
CP12345
Author Rating: Not yet rated. Alex Richards
   Displaying page 1 of 1 pages; Items 1 to 9

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