Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 0 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
add comment

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

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.