subster
Elite Member
- Apr 5, 2008
- 2,157
- 1,608
I just ordered a Backlinks Massacre Package to juice up some web 2.0 made by another service. They require you to send your urls in this format: http://url.com {Keyword1|Keyword2| Keyword3} and so on.
I had a large list of about 300 Urls and reminded myself of using regular expressions for this issue.
1. Get Notepad ++ (The best texteditor, you'll see that yourself). http://notepad-plus-plus.org/
2. Open your file with the backlink urls in Notepad ++
3. Go to search -> Replace
4. Point the radio button on Regular Expression
5. To add a prefix (in front of your URL):
5.1. Find: ^(.*)$
5.2. Replace with: {Keyword1|Keyword2| Keyword3}\1
6. To append a suffix (behind your URL):
6.1. Find: ^(.*)$
6.2. Replace with: \1 {Keyword1|Keyword2| Keyword3} (Notice the blank, if you need it in front of the bracket)
Hours saved.
I had a large list of about 300 Urls and reminded myself of using regular expressions for this issue.
1. Get Notepad ++ (The best texteditor, you'll see that yourself). http://notepad-plus-plus.org/
2. Open your file with the backlink urls in Notepad ++
3. Go to search -> Replace
4. Point the radio button on Regular Expression
5. To add a prefix (in front of your URL):
5.1. Find: ^(.*)$
5.2. Replace with: {Keyword1|Keyword2| Keyword3}\1
6. To append a suffix (behind your URL):
6.1. Find: ^(.*)$
6.2. Replace with: \1 {Keyword1|Keyword2| Keyword3} (Notice the blank, if you need it in front of the bracket)
Hours saved.