Jeff
Jeff

Reputation: 364

Regex & Sublime Text 2

I recently got Sublime text and I was wondering how I could do the following thing. I have a list full of random keywords from Google Keywords. Now I wanna remove a part which comes with the download. Every line looks like this: "Conceptcampagne EUR Ropa Interior tiendas de ropa interior" I wanna remove this part: "Conceptcampagne EUR Ropa Interior " But, the "ropa interior" part is always different. I want to make this easier by regex. Yet I have no clue.

Could someone help me?

Upvotes: 0

Views: 34

Answers (1)

Jody
Jody

Reputation: 8281

regex = Conceptcampagne EUR .* (tiendas de ropa interior) Replace with \1

You may have to add a "?" after the .*

Upvotes: 1

Related Questions