Title |
Test
Find
Pattern Title
|
Expression |
<[^>\s]*\bauthor\b[^>]*> |
Description |
This expression will match the corresponding XML/HTML elements opening and closing tags. Useful to handle documents fragments, without loading an XML DOM.
|
Matches |
<author name="Daniel"> | </sch:author> | <pp:author name="Daniel" |
Non-Matches |
<other> | </authors> | <work>author</work> |
Author |
Rating:
Not yet rated.
Daniel Cazzulino
|
Source |
|
Your Rating |
|
Title: how to match an xml opening tag with attributes
Name: venkata
Date: 5/13/2013 3:40:46 AM
Comment:
hi,
I need to match only an xml opening tag with or without attributes. But this matches both opening and closing tags. Could you please help me?