Regular Expresions Query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ziycon
    Contributor
    • Sep 2008
    • 384

    Regular Expresions Query

    I'm trying to search for a certain piece of text and I can't make head nor tails of regular expressions.

    I have loads of XML tags like <mytag attrubte="1" attribute="2" />

    I'm trying to search for anything that begins with <mytag and ends in /> but can't figure it out, can anyone help?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    something like
    Code:
    <mytag[^>]+>
    ?

    Comment

    Working...