I would like to retrieve only the number values from a string on flutter without keeping the text hardcoded using replaceAll, the text can be anything but the number part of it has to be retrieved from it.
e.g.
String text = "Hello your number is: 1234";
String numberProvided = '1234'; // needs to be extracted from String text
print("The number provided is :" + numberProvided);
Like I said, the text characters shouldn't be hardcoded into the application, let me know if it is possible, thanks!