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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
</?([a-zA-Z][-A-Za-z\d\.]{0,71})(\s+(\S+)(\s*=\s*([-\w\.]{1,1024}|"[^"]{0,1024}"|'[^']{0,1024}'))?)*\s*>
Description
Searches for tags and there atributes according to the HTML 2.0 specification to limit length of tags to 72 characters, and length of attribute values to 1024 characters.
Matches
<IMG src='stars.gif' alt="space" height=1>
Non-Matches
this is not a tag
Author Rating: Not yet rated. Lewis Moten
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: regular expersion
Name: babak fouladinia
Date: 6/27/2007 11:49:33 AM
Comment:
regular expersion


Title: need some info
Name: ayman
Date: 6/6/2003 11:19:13 PM
Comment:
could you please make a regular expersion for <META name="keywords" content="corporate,guidelines,cataloging"> that output corporate guidelines cataloging also anthor one <META name="description" content="corporate guidelines cataloging"> that output corporate guidelines cataloging thanks


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