1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Notepad++ Question

Discussion in 'Black Hat SEO Tools' started by bdtyrone, Jun 27, 2011.

  1. bdtyrone

    bdtyrone Regular Member

    Joined:
    Nov 18, 2008
    Messages:
    216
    Likes Received:
    300
    I have this expression in search and replace

    Code:
    ([A-Z][a-z]*)|(.*)
    Code:
    \2
    So it searches wordhere1|wordhere2 and then deletes wordhere1 and gives me wordhere2

    The problem is that it apparently only cleans up one occurrence per line. I am working on a thousands of files with probably hundreds of thousands of occurrences. So there's like 10 or more occurrence per line.

    Question is how can I make the expression on search target multiple occurrence on each line?

    Also have can I make it target not just single word but phrases as well?

    Thanks in advanced. :)