josefkrzysztof
05-26-2005, 03:33 PM
Hi,
Hi,
Well I believe this question is for answered for few JS programmers!
I want delete all lines from a textarea by HOST duplicates. The host name begin at"http" and ends by first '/'.
See the example below:
http://www.yourdictionary.com/
http://alt.venus.co.uk/VL/AppLingBBK/welcome.html
http://www.uni-kassel.de/fb8/misc/lfb/html/text/startlfbframeset.html
http://www.sil.org/
http://sp.ask.com/docs/about/index.html
http://sp.ask.com/docs/ad/default.htm
http://sp.ask.com/docs/about/careers.html
http://sp.ask.com/docs/about/wodehouse.html
http://sp.ask.com/docs/about/policies.html
http://sp.ask.com/docs/jeevesinc/default.htm
In this example case we will DELETE ALL lines containaing:
http://sp.ask.com/
In the following example:
http://www.logisticsonline.com/
http://www.loglink.com/
http://dir.yahoo.com/Recreation/Travel/Transportation/
http://dir.yahoo.com/Recreation/Travel/Logistics/
http://www.logisticsplus.net/
http://us.ard.yahoo.com/.......
http://us.ard.yahoo.com/........
http://us.ard.yahoo.com/.......
http://us.ard.yahoo.com/.......
Must be deleted all lines containing :
http://dir.yahoo.com/
and
http://us.ard.yahoo.com/
Good luck!
Thank you in aadvance
jkrzysztof
Hi,
Well I believe this question is for answered for few JS programmers!
I want delete all lines from a textarea by HOST duplicates. The host name begin at"http" and ends by first '/'.
See the example below:
http://www.yourdictionary.com/
http://alt.venus.co.uk/VL/AppLingBBK/welcome.html
http://www.uni-kassel.de/fb8/misc/lfb/html/text/startlfbframeset.html
http://www.sil.org/
http://sp.ask.com/docs/about/index.html
http://sp.ask.com/docs/ad/default.htm
http://sp.ask.com/docs/about/careers.html
http://sp.ask.com/docs/about/wodehouse.html
http://sp.ask.com/docs/about/policies.html
http://sp.ask.com/docs/jeevesinc/default.htm
In this example case we will DELETE ALL lines containaing:
http://sp.ask.com/
In the following example:
http://www.logisticsonline.com/
http://www.loglink.com/
http://dir.yahoo.com/Recreation/Travel/Transportation/
http://dir.yahoo.com/Recreation/Travel/Logistics/
http://www.logisticsplus.net/
http://us.ard.yahoo.com/.......
http://us.ard.yahoo.com/........
http://us.ard.yahoo.com/.......
http://us.ard.yahoo.com/.......
Must be deleted all lines containing :
http://dir.yahoo.com/
and
http://us.ard.yahoo.com/
Good luck!
Thank you in aadvance
jkrzysztof