Help from the experts / Batch script to remove spaces and extract text, as follows
Recently I wanted to do some online marketing, using search engines to get website addresses, but most of them look like the content below. What I want is this: clean up the domain names below so that only www.XXX.com is left, strip off http://, then process them again to cut off everything after /. Such as /index.php /index.asp /action and so on. If I use Notepad to replace them, for irregular things after / I mostly have to replace them one by one manually. I want to automate it,
http://www.baidu.com/index.php
http://www.sina.com/index.php
http://www.qq.com/index.html
http://www.51.com/index.ph
http://www.google.com/index.php
Recently I wanted to do some online marketing, using search engines to get website addresses, but most of them look like the content below. What I want is this: clean up the domain names below so that only www.XXX.com is left, strip off http://, then process them again to cut off everything after /. Such as /index.php /index.asp /action and so on. If I use Notepad to replace them, for irregular things after / I mostly have to replace them one by one manually. I want to automate it,
http://www.baidu.com/index.php
http://www.sina.com/index.php
http://www.qq.com/index.html
http://www.51.com/index.ph
http://www.google.com/index.php

