I have this string:
/dev/sda1 23G 46G 47G 22%
And want to match only the integer in 47
's place.
I tried modifying the "match second set of numbers" example (i.e.,\d+[^\d*](\d+)
) here to make it match the third set (e.g., , http://perlmeme.org/faqs/regexp/regexp.html, but I can't get a match.
Any idea how to match only the integer in 47
's place?