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 am using Notepad++ to do this:

I was able to find the appropriate pattern to match my string, which would be: (.*)myemail[at]gmail.com

What I need to do now is insert a line break and some additional stuff, only before the lines ending with my email adress.

Any ideas?

share|improve this question
add comment

migrated from stackoverflow.com Feb 13 '10 at 16:01

This question came from our site for professional and enthusiast programmers.

1 Answer

 Replace      (.*name@gmail.com)$
 With         \nSome text\n\1

Remember to check the Regular expression check box in the search mode.

share|improve this answer
    
Thank you, you saved me many additional hours trying to figure that out! –  Kristian Hildebrandt Feb 13 '10 at 15:46
add comment

Your Answer

 
discard

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