Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some lines like:

    <itunes:author>XXX</itunes:author>
    <itunes:subtitle>YYY</itunes:subtitle>

I need to remove for example the lines with itunes:autor tag. I tried with "Search" (CTRL+F) - "Regex" selected: <itunes:author> .* , but it didn't work. Tried with itunes:author .*, no match either. What's the problem? How can I select those lines? Should I escape the < in some way to make the .* "trick" work?

share|improve this question
up vote 2 down vote accepted

The approach you describe does work, as below:

enter image description here

share|improve this answer
    
I don't know why.. now it magically started working. I can't believe this! -.- – MultiformeIngegno Feb 11 '13 at 2:24
    
Might be the space in your regular expression. The expression you put in your question has a space character between "<itunes:author>" and ".*". Notepad++ searches for space character also. – SadullahCeran Feb 11 '13 at 16:35

Set search mode to regular expression and use this search string <itunes:author>.*

enter image description here

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .