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

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

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

 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

You must log in to answer this question.