SyntaxFix
Write A Post
Hire A Developer
Questions
if you know for sure that there are only going to be 2 places where you have a list of digits in your string and that is the only thing you are going to pull out then you should be able to simply use
\d+