Originally Posted by 0.o
I am trying to build a regular expression that will match the following:
(the above URL followed by anything on the site)
Could someone point me in the right direction?
you want to get what's after 'http://www.linkedin.com/'?
if you're parsing an html file and you want
to retrieve this info from the hyperlinks found in file.html
sed 's?href=[^ >]*?\n&\n?g' file.html | grep -i 'href=' | \
grep 'http://www\.linkedin\.com' | \
[^'" \t>]*\).*$?\1?' | \
does that answer your question?