How to fetch number of the text?

Posted by Gordian Yuan on Stack Overflow See other posts from Stack Overflow or by Gordian Yuan
Published on 2010-05-13T17:09:51Z Indexed on 2010/05/13 17:14 UTC
Read the original article Hit count: 124

Filed under:

I have the text like "It's the 145 of 13221 items". I need to fetch all the number of text on one time. I want to use regex to do this. What is the regex like? "\d+" is not work fine.

© Stack Overflow or respective owner

Related posts about regex