On both strings the below regex works:
In reply to Re: pull out num from str by 2teez in thread pull out num from str by icoder