This simple formula will work
RegEx_Replace([Name],'^.*(\d{5,5}).*$','$1')
Although you did not give exact rules as to which numbers to extract, this pulls the last 5 digit string which applies to the example strings you provided.
The key is keeping the first .* greedy. This could be refined to only capture 5 digit words by using word breaks \b surrounding the match.