Regex split function

hi,

i want to use Regex Split to extract numeric numbers from product description but having difficulty to specify # of digits like shown below. any of below regex dont work to get desired ouput...all the expressions will return only 2digits number.

appreciate your help!

Regex tried

.*([0-9]?[0-9][0-9]).*

.*([0-9]{2,}).*

Sample input and desired output

hogeho 123 hoge --> 123

barbar 45bar --> 45

The problem is that the first .* will eat up as many characters as possible, in your case also the first digit. You have to make the * operator non-eager by appending an additional ?: ".*?(\d{2,}).*"