I have the following text as an example:
\n\t\t\t\t\t3 comments
Can anyone help me to construct PHP regex formula for extracting the number? (in this case number = 3)
The number can be prefixed by any text, but after the number there should be a <space> followed by comments.
Thanks.