wrkrbeee has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monks, have a fairly straightforward string (in the code section below) which contains, amidst other characters, a URL address. The goal is to extract the URL address and assign it to a variable. Try as I might, I keep coming up short. Among other expressions, I have tried: m/subsid(.*)(">)/ Grateful for any ideas. Thank you!
<td scope="row">9</td> <td scope="row">SUBSIDIARIES OF THE REGISTRANT</td> <td scope="row"><a href="/Archives/edgar/data/1050122/0000 +92735601000365/0000927356-01-000365-0009.txt">0009.txt</a></td> <td scope="row">EX-21.1</td>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: REGEX for url
by graff (Chancellor) on Apr 25, 2016 at 21:44 UTC | |
by wrkrbeee (Scribe) on Apr 25, 2016 at 21:46 UTC | |
by graff (Chancellor) on Apr 25, 2016 at 21:52 UTC | |
Re: REGEX for url
by tangent (Parson) on Apr 25, 2016 at 22:15 UTC | |
Re: REGEX for url
by james28909 (Deacon) on Apr 25, 2016 at 20:42 UTC | |
by wrkrbeee (Scribe) on Apr 25, 2016 at 20:52 UTC | |
by james28909 (Deacon) on Apr 25, 2016 at 20:57 UTC | |
by wrkrbeee (Scribe) on Apr 25, 2016 at 21:28 UTC | |
by Marshall (Canon) on Apr 25, 2016 at 22:24 UTC | |
by wrkrbeee (Scribe) on Apr 25, 2016 at 21:09 UTC | |
by NetWallah (Canon) on Apr 25, 2016 at 21:19 UTC | |
by ExReg (Priest) on Apr 25, 2016 at 22:07 UTC | |
Re: REGEX for url
by ww (Archbishop) on Apr 26, 2016 at 20:36 UTC |
Back to
Seekers of Perl Wisdom