troubleshooting Question

bash - extracting words

Avatar of rares_dumitrescu
rares_dumitrescu asked on
Shell Scripting
2 Comments1 Solution775 ViewsLast Modified:
i have a document, and i want to extract some web adresses
the document is named bla.html
and he has text like this:

        <td align="left"><a name="neogenro"></a><a href=""> - Portalul numarul 1 in Romania. Prieteni, bani, informatii, distractie, dating. e-Volueaza!</a><br><small title="Pozitia in categorie"><a target="_blank"  href=""></a> - <a href='/top/cautare-portal/pagina1.html#neogenro'>Cautare/Portal</a> - <a href='/top/cautare-portal/pagina1.html#neogenro'>Locul 1</a></small></td>
        <td align="left"><a name="gazetasporturilorro"></a><a href="">Gazeta Sporturilor - cea mai buna echipa din Romania</a><br><small title="Pozitia in categorie"><a target="_blank"  href=""></a> - <a href='/top/stiri-massmedia/pagina1.html#gazetasporturilorro'>Stiri/Massmedia</a> - <a href='/top/stiri-massmedia/pagina1.html#gazetasporturilorro'>Locul 1</a></small></td>
        <td align="left"><a name="prosportro"></a><a href="">Prosport - Cel mai complet si dinamic site de sport din Romania. Stiri. Chat. Comentarii live.</a><br><small title="Pozitia in categorie"><a target="_blank"  href=""></a> - <a href='/top/stiri-massmedia/pagina1.html#prosportro'>Stiri/Massmedia</a> - <a href='/top/stiri-massmedia/pagina1.html#prosportro'>Locul 2</a></small></td>

i need to extract just the web adress
example: i need from this file and

any ideea ?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros