I have a list of string which contains few set of characters and spaces in the beginning before encountered first three digits.
if the pattern found then I need to collect only first three digits from the string.
For example1:
String: “SEE 222 Newcastle NSW 203”
Expected output: 222
For example2:
String: “SEE TEMP 212 Newcastle NSW 203”
Expected output: 212
Please suggest