View Full Version : tool to add http:// to all my links
DigitalPeon
Aug 7th 2006, 10:38 pm
I sometimes have a list of hundreds to thousands of domains that are named as
eg. abc.xyz.com instead of http://abc.xyz.com
instead of inserting http:// 1 by 1, is there any tool to auto add http:// infront of all my domain urls? :confused:
Thanks.
livingearth
Aug 7th 2006, 11:18 pm
Have you tried notepads find and replace function
DigitalPeon
Aug 8th 2006, 12:28 am
search and replace won't work coz all the domains first words are different.
if the url start with www. i can easily replace all of them with http://www.
but i have all kinda of subs such as david.somesite.com, crazymonkey.somesite.com etc...
Carlito
Aug 8th 2006, 1:26 pm
You might try copying them into Excel, and then create another column with a formula like:
=CONCATENATE ("http://", A2)
to produce that result.
Or if the links are embedded in HTML you could use a regular expression tool like this one (http://www.radsoftware.com.au/regexdesigner/) to do a more complex replacement of whatever you want.
john269
Aug 8th 2006, 10:50 pm
Excel works great for this.
EGoldstein
Aug 9th 2006, 12:01 am
Yes I use Excel too but in a different manner. Fill http:// in column A until whatever level. Then fill your domains in the column B. Select column A and column B, then copy. Paste it in notepad. Find and replace all the spaces between http:// and domain using the "find and replace" option. Replace the macro space with nothing. That's it.
My first post here by the way.
Emmanuel Goldstein.
DigitalPeon
Aug 9th 2006, 12:25 am
Thanks Guys! Excel works wonders! :D
john269
Aug 9th 2006, 2:17 am
I never thought of doing that and I always try and find the quickest way of doing things as time cost money.
I normally join the both columns together using something like =b3&""&c3
Yes I use Excel too but in a different manner. Fill http:// in column A until whatever level. Then fill your domains in the column B. Select column A and column B, then copy. Paste it in notepad. Find and replace all the spaces between http:// and domain using the "find and replace" option. Replace the macro space with nothing. That's it.
My first post here by the way.
Emmanuel Goldstein.
adamovic
Aug 17th 2006, 4:08 am
Use editor (like UltraEdit or gEdit on Linux) and replace "\n" with "\nhttp://" or something like that (href=" with href="http://).
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.