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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find HTML 4.01 Elements
Expression
(<\/?)(?i:(?<element>a(bbr|cronym|ddress|pplet|rea)?|b(ase(font)?|do|ig|lockquote|ody|r|utton)?|c(aption|enter|ite|(o(de|l(group)?)))|d(d|el|fn|i(r|v)|l|t)|em|f(ieldset|o(nt|rm)|rame(set)?)|h([1-6]|ead|r|tml)|i(frame|mg|n(put|s)|sindex)?|kbd|l(abel|egend|i(nk)?)|m(ap|e(nu|ta))|no(frames|script)|o(bject|l|pt(group|ion))|p(aram|re)?|q|s(amp|cript|elect|mall|pan|t(r(ike|ong)|yle)|u(b|p))|t(able|body|d|extarea|foot|h|itle|r|t)|u(l)?|var))(\s(?<attr>.+?))*>
Description
This RE will match all the valid elements in HTML 4.01
Matches
<HTML> | <a href="link.html">Link</a>
Non-Matches
<xml> | <phonytag> | <image>
Author Rating: The rating for this expression. Michael Ash
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: Sinusitis Treatment
Name: Nick
Date: 1/4/2014 6:48:24 AM
Comment:
The ability associated with management your leadership for succeeds seems definitely from your help through document. http://www.myusrx.com/


Title: Sinusitis Treatment
Name: Sinusitis Treatment
Date: 10/23/2013 4:23:20 PM
Comment:
Sinusitis is usually an really frequent way of nose congestion the location where the paranasal sinuses (hollow, air-filled areas inside bone tissues with the face) and also nose paragraphs become plugged along with the little bloodstream inside mucosal linings become swollen. <a href="http://www.yatan-ayur.com.au/Diseases/sinusitis"> Sinusitis Treatment</a>


Title: Sinusitis Treatment
Name: Sinusitis Treatment
Date: 10/23/2013 4:23:10 PM
Comment:
Sinusitis is usually an really frequent way of nose congestion the location where the paranasal sinuses (hollow, air-filled areas inside bone tissues with the face) and also nose paragraphs become plugged along with the little bloodstream inside mucosal linings become swollen. <a href="http://www.yatan-ayur.com.au/Diseases/sinusitis"> Sinusitis Treatment</a>


Title: Sinusitis Treatment
Name: Sinusitis Treatment
Date: 10/23/2013 4:22:58 PM
Comment:
Sinusitis is usually an really frequent way of nose congestion the location where the paranasal sinuses (hollow, air-filled areas inside bone tissues with the face) and also nose paragraphs become plugged along with the little bloodstream inside mucosal linings become swollen. <a href="http://www.yatan-ayur.com.au/Diseases/sinusitis"> Sinusitis Treatment</a>


Title: Yoga Books
Name: Yoga Books
Date: 9/15/2013 7:41:19 AM
Comment:
This specific extremely comprehensive in addition to educational book distinctly talks about healing yoga and fitness exercises which include successful postures, pranayama, mudras in addition to deep breathing techniques suited to ease day-to-day health conditions. YATAN Yoga exercise Therapies talks about in excess of 50 frequent disorders, all over every one of the techniques in the body, telling you these individuals in the yogic in addition to Ayurvedic perspectives. http://yatan-ayur.com.au/online-store/books/yatan-yoga http://yatan-ayur.com.au/online-store/books/yatan-yoga-therapy


Title: Yoga Books
Name: Yoga Books
Date: 9/15/2013 7:41:15 AM
Comment:
This specific extremely comprehensive in addition to educational book distinctly talks about healing yoga and fitness exercises which include successful postures, pranayama, mudras in addition to deep breathing techniques suited to ease day-to-day health conditions. YATAN Yoga exercise Therapies talks about in excess of 50 frequent disorders, all over every one of the techniques in the body, telling you these individuals in the yogic in addition to Ayurvedic perspectives. http://yatan-ayur.com.au/online-store/books/yatan-yoga http://yatan-ayur.com.au/online-store/books/yatan-yoga-therapy


Title: Yoga Books
Name: Yoga Books
Date: 9/15/2013 7:41:09 AM
Comment:
This specific extremely comprehensive in addition to educational book distinctly talks about healing yoga and fitness exercises which include successful postures, pranayama, mudras in addition to deep breathing techniques suited to ease day-to-day health conditions. YATAN Yoga exercise Therapies talks about in excess of 50 frequent disorders, all over every one of the techniques in the body, telling you these individuals in the yogic in addition to Ayurvedic perspectives. http://yatan-ayur.com.au/online-store/books/yatan-yoga http://yatan-ayur.com.au/online-store/books/yatan-yoga-therapy


Title: Ayurvedic Treatment Of Arthritis
Name: AyurvedaYatan
Date: 8/16/2013 12:20:31 PM
Comment:
Arthritis is really a ailment that involves pain in addition to inflammation within a number of joint parts in the physique, generally the actual excess weight keeping joint parts much like the hips, legs in addition to ankles, or maybe smaller joint parts much like the arms in addition to toes. http://www.yatan-ayur.com.au/Diseases/arthritis


Title: Ayurvedic Treatment Of Arthritis
Name: AyurvedaYatan
Date: 8/16/2013 12:20:16 PM
Comment:
Arthritis is really a ailment that involves pain in addition to inflammation within a number of joint parts in the physique, generally the actual excess weight keeping joint parts much like the hips, legs in addition to ankles, or maybe smaller joint parts much like the arms in addition to toes. http://www.yatan-ayur.com.au/Diseases/arthritis


Title: Ayurvedic Treatment Of Arthritis
Name: AyurvedaYatan
Date: 8/16/2013 12:20:03 PM
Comment:
Arthritis is really a ailment that involves pain in addition to inflammation within a number of joint parts in the physique, generally the actual excess weight keeping joint parts much like the hips, legs in addition to ankles, or maybe smaller joint parts much like the arms in addition to toes. http://www.yatan-ayur.com.au/Diseases/arthritis


Title: snow2011
Name: snow2011
Date: 5/6/2013 7:24:17 AM
Comment:
I admire you so much! And enjoy seeing you play so beautifully. I would love to see myself playing that way someday.It is my dream in my childhood. http://www.genericviagraonline.info/ Generic Viagra Online


Title: snow2011
Name: snow2011
Date: 5/6/2013 7:24:04 AM
Comment:
I admire you so much! And enjoy seeing you play so beautifully. I would love to see myself playing that way someday.It is my dream in my childhood. http://www.genericviagraonline.info/ Generic Viagra Online


Title: Thanks
Name: maurren
Date: 4/22/2013 2:27:04 PM
Comment:
A total of 10 to 20 grams of protein is ideal, he says. And wrap a piece of bread around that turkey, because carbs can raise insulin; this slows protein breakdown, which speeds muscle growth after your workout. http://www.kamagrafx.com/


Title: Thanks
Name: maurren
Date: 4/22/2013 2:26:38 PM
Comment:
A total of 10 to 20 grams of protein is ideal, he says. And wrap a piece of bread around that turkey, because carbs can raise insulin; this slows protein breakdown, which speeds muscle growth after your workout. http://www.kamagrafx.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:29:31 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:26:06 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:25:59 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:25:06 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:24:53 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:24:11 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:22:06 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: Great explain about HTML 4.01 Elements
Name: Marcos Funk
Date: 1/16/2013 4:21:46 AM
Comment:
This article HTML 4.01 Elements is very informative for all and well explain.I feel motivated every time I read the blog section of this site. http://www.buy-arearugs.com/


Title: good post
Name: kamer jjao
Date: 9/12/2012 9:26:21 AM
Comment:
hi Thanks a million for this great pattern.I had to edit some, about 40, HTML pages this weekend http://www.genericviagratab.com


Title: <a href="http://www.bellspharmacy.com/">Generic Viagra</a>
Name: Jon bosoc
Date: 3/5/2012 4:30:21 AM
Comment:
Great loved it, will be waiting for your future posts Thank you for sharing.


Title: Malfunction
Name: WolfgangBadura@aon.at
Date: 4/17/2008 7:55:41 AM
Comment:
Installed are Win XP SP2 Microsoft VBScript Regular Expressions 5.5 and VB 6.0 SP 5, German Version. Laufeitfehler '5017' Anwendungs- oder objektdefinierter Fehler. The Error is caused by the Pattern!


Title: THANKS!
Name: me
Date: 4/16/2007 2:55:40 PM
Comment:
Looked through lots of regular expressions to finally fine this one. Thank you.


Title: Extension to select JavaScript attribute as well
Name: Barnabas Kendall
Date: 6/4/2004 2:01:17 PM
Comment:
Thanks a million for this great pattern. Here's a slight extension to allow you to capture the actual attribute as well, in case you are trying to remove all JavaScript from the page: (?i:on(blur|c(hange|lick)|dblclick|focus|keypress|(key|mouse)(down|up)|(un)?load|mouse(move|o(ut|ver))|reset|s(elect|ubmit))) ?= ?(?<open>['"])?.*?(\<open>|>) This works whether or not the attribute has single quotes, double quotes, or no quotes at all to set off the JavaScript.


Title: re: Take a look at this with the Coach :-)
Name: Michael Ash
Date: 1/12/2004 1:27:51 PM
Comment:
I have created a mighty redwood. ;-) I had to edit some, about 40, HTML pages this weekend and this regex saved me a few days work.


Title: Take a look at this with the Coach :-)
Name: Darren Neimke
Date: 1/12/2004 4:43:24 AM
Comment:
Hey Michael, do yourself a favour and run this pattern through the RegexCoach :-) http://regexblogs.com/dneimke/archive/2003/11/25/189.aspx Take a look at the tree that it creates for it. Note: You will have to remove the named captures when you run it through that tool.


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