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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find HTML Characters numerical codes
Expression
&#\d{2,5};
Description
This pattern matches any HTML special character in numerical code.
Matches
A đ ḋ
Non-Matches
ð è  
Author Rating: Not yet rated. Roberto Santana
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: HTML Characters numerical codes
Name: fudgey
Date: 8/2/2009 12:03:51 PM
Comment:
Sorry, I'm new to regex but wouldn't it be better to wrap this with ^$ so you end up with: ^&#\d{2,5};$ I'm trying to use this as a validator.


Title: HTML Characters numerical codes
Name: fudgey
Date: 8/2/2009 12:03:34 PM
Comment:
Sorry, I'm new to regex but wouldn't it be better to wrap this with ^$ so you end up with: ^&#\d{2,5};$ I'm trying to use this as a validator.


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