I would like to use notepad++ to remove all text after the / in a domain url.
I have a huge list of domains and some of them have a specific page or address after the domain name.
I want to strip the list down to just the domains and note specific pages. Hope that makes sense.
EXAMPLE:
http://www.domain.com/navigation/departmentcontacts.shtml
I want to remove everything after the http://www.domain.com so only the domain is left.
The list is not all .com either its .edu, .net, .com, .net, etc.
I'm not sure how to go about doing this. I'm unfamiliar with regular expressions and need some guidance please.
Thank you very much!