Hi,
I have a task where I need to extract the house number from an address. The reason for extracting the next character as well is because the number may be something like 1a Example Road, 1b Example Road etc. I need to make sure I get the correct address every time.
I found a solution on the forums where I can use regex to extract any and all numbers from a string which works great, but it will not pick up the character after the numbers (if one exists).
Example Inputs:
234 Test Road, Testville
456b Tester Road, Testville
Required Outputs:
234
456b
I am open to any and all suggestions on how to do this, thanks in advance.