RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
[0][x][0-9a-fA-F]+
Description
Matches hexadecimal values like in c-sourcecode exists.
Matches
0x0ffe
Non-Matches
x0ffe
Author Rating: The rating for this expression. Andreas Schiller
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Doesn't work...
Name: FP
Date: 11/10/2006 3:18:59 PM
Comment:
This fails when you feed it something like '0x1u0a'. The '0x1' is enough to give a positive match.


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