|
grep or awk problem, unable to extract numbers
Hi, I've trouble getting some numbers from a html-file. The thing is that I have several html-logs that contains lines like this:
nerdnerd, how_old_r_u:45782<br>APPLY: <hour_second> Verification succeded
This is some of what I've extracted from a html file but all I really want is the number in the middle. When using awk I get:
how_old_r_u:45782<br>APPLY:
since there is a space at each end, like a separator for awk.
And I tried using grep "[0-9]" but it only takes the whole line containing the number so I get the whole line again. Is there any command that can retreive the numbers only?
|