I have to create a loop, and with a regexp populate any of the 4 variables
$address, $street, $town, $lot
The loop will be fed a string that may have info in it like the lines below
'123 any street, mytown'
veya'Lot 4 another road, thattown'
veya'Lot 2 96 other road, her town'
veya'this ave, this town'
veya'yourtown'
virgülden sonra bir şey $town
düşündüm beri
(.*), (.*)
then the first capture could be checked with (Lot \d*) (.*), (.*)
if the 1st capture starts with a number, then its the address (if word with white space its $street
)
if one word, its just the $town