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 Pattern Title
Expression
^([0-9a-fA-F]{1,2})(\s[0-9a-fA-F]{1,2})*$
Description
Expression validating a series of hex codes (byte values) separated by spaces.
Matches
1b 2e | 1B 70 00 90 F0
Non-Matches
gh 4b | 1G 70 00 UU
Author Rating: Not yet rated. Benny Tordrup
Title Test Details Pattern Title
Expression
^(?<CountryPrefix>DK-)?(?<ZipCode>[0-9]{4})$
Description
This pattern matches danish zip codes with optional country identification
Matches
4760 | DK-4700
Non-Matches
DK4720 | DE-4000
Author Rating: Not yet rated. Benny Tordrup
   Displaying page 1 of 1 pages; Items 1 to 2

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