I have a html page things like this in it:
How do I use grep to output only the number (i.e. "1874298")? So far this is what I have:Code:<a id="p1874298" href="index.php?page=post&s=view&id=1874298">
But that doesn't fully work...Code:wget -O - example.com | grep -m 1 --only-matching --perl-regexp '<a id=\"[^<>]*'