hello, i have a list of 1000 urls. all with .com, .net etc domains like: http://site1.org http://site2.org http://site3.com http://site4.net http://site5.ru http://site6.ws http://site7.com http://site8.net Code (markup): i want to only copy the domains with .com domain. how can i do this? i want to copy all .com domains and paste it in a new document
I would copy the list to excel and write a formula something like and then sort on the formula results.
Using Notepad++ regular expression search 1) Replace: .*[^\.com]$ with empty text Then select all (control + A) Menu -> TextFX -> TextFX Edit -> Delete Blank Lines Then to clear out spaces