Menu

RegExp to rid junk code from HTML tags

2007-06-26
2012-11-13
  • Nobody/Anonymous

    I am having trouble with RegExp.  I am trying to remove Front Page type junk from the inside of <td> tags while keeping all the real data.  So I want to search and replace: <td example junk here> to just <td>
    But not the entire string like this: <td example junk here>Real Data Here</td>

    The odd thing is I make a RegExp that works for the first occurrence of <td example junk here>.  After that that exact same text is not detected even though I can clearly see it is the same text.  Am I doing something wrong here?

     
    • pshute

      pshute - 2007-06-27

      Are you using control+H or control+R?  I've had troubles with control+R if I have the Selection option enabled.

      What's your regex expression?