Title |
Test
Find
Pattern Title
|
Expression |
</?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*> |
Description |
Finds any HTML tag and sub-matches properties weather it has an apposterphee, quote, or no quote/apposterphee
|
Matches |
<TD> | <TD bgColor="FFFFFF"> | </TD> |
Non-Matches |
No Tag Here ... |
Author |
Rating:
Lewis Moten
|
Source |
|
Your Rating |
|
Title: html tag
Name: matt
Date: 5/2/2015 1:01:36 PM
Comment:
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Title: Google is your friend...
Name: Mantander Singh
Date: 8/26/2009 10:44:15 AM
Comment:
Best spelling of "apostrophe" I've ever seen, well done there!
And coders love to code whenever, wherever, whether the weather is good or bad!
Title: Whitespace / Self closing tag Fix
Name: Sam
Date: 5/19/2005 12:18:01 PM
Comment:
I find the following works well:
</?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*\s*?/?>
Handles self closing tags <br /> and whitespace: <p >
Title: Doesn't match tags with whitespace
Name: Prem
Date: 2/24/2004 6:05:48 AM
Comment:
This does not match valid XHTML self-closing tags, eg:
<br />
<hr />
<input name="submit" type="submit" value="Submit" />
Or tags with unexpected whitespace (but which are still parsed by the browser), eg:
<p >
<form >
Title: Engineer
Name: Paltonio Daun Fraga
Date: 1/20/2004 6:18:53 AM
Comment:
Thanks you for your usefull examples of html tag parsing.
Normally I absorve raw data from html files from THE brazilian CNPq Curriculum Vitae OF ABOUT 400 TEACHERS, IN DELPHI, Now I am trying to absorve thesis abstracts from the university library database. so We will have not one but the whole set of data from almost 5000 thesis of our faculty FFLCH-USP. So thanks a lot.