yokzu

yokzu

  • NA
  • 306
  • 0

Regex problem

Jun 30 2011 1:08 PM
Hello,
I am doing write and read proccesses with a text file. I want to get the numbers after second space. For example;
--------------
asdfasdf 12.12.12.12 5
ertertert 12.34.3.3 14
qweqwe 123.2.2.23 2
qweqwe 123.2.2.2 22
wesdsd 23.23.2.3 9
rtyrtyrty 23.78.78.7 25
...
--------------

As you can see, all of them are after second space and max. two digit and max value is 25. I searched some regex codes but couldt able to find. Could you please help me?
Kind regards.

Answers (3)