You will need to look at or enforce some kind of structure in your address string - because without that, you can't reliably automatically process it.
For example, how do you pick the house number out of this:
Flat 12, 23 Albert row, London L17 8DS
And also get the house number from this:
Helton House, 1 Laung Street, Bananatown, Hants GU32 8RT
And this:
Number One, London
All of which are valid UK addresses!
Without structure and a defined input format, your code will make more mistakes than correct extractions!