Under Windows, how can text-processing tools output matching strings? For example, if I want to output all .com domain names from a webpage's source code.
How should this be written with sed, grep, awk (are there any other programs?), etc.? Many thanks.
If I want to match .cn, .net, and other domain names, how should I use “OR” logic?
[ Last edited by nanhezzb on 2010-7-10 at 20:22 ]
How should this be written with sed, grep, awk (are there any other programs?), etc.? Many thanks.
If I want to match .cn, .net, and other domain names, how should I use “OR” logic?
[ Last edited by nanhezzb on 2010-7-10 at 20:22 ]
