SyntaxFix
Write A Post
Hire A Developer
Questions
you could use something like:
[^0-9]+([0-9]+)[^0-9]+([0-9]+).+
Then get the first and second capture groups.