in reply to Grab 4 numbers from url
perl -wE 'my $url=q|http://test-text-ad-1234.html|; say $url=~/(\d{4}) +\.htm/i'
This is not an optical illusion, it just looks like one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grab 4 numbers from url
by htmanning (Friar) on May 01, 2016 at 21:36 UTC |