a guest Oct 12th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Regular expression for parsing street name and house number:
- `^([^\d]*[^\d\s]) *(\d.*)`
- 'Long Street 106 - 108 A' => 'Long Street', '106 - 108 A'
- 'Street 145' => 'Street', '145'
- 'Street56a' => 'Street', '56a'
- 'Some Avenue 68' => 'Some Avenue', '68'
- 'Some Ave 999a' => 'Some Ave', '999a'
- 'Singlestreet551abc' => 'Signlestreet', '551abc'
RAW Paste Data