W
W
wertex2016-09-01 23:23:41
Yii
wertex, 2016-09-01 23:23:41

Is it possible to process data through regular expressions?

There are the following lines:
2nd Novosibirskaya street, 25-25a
50th picket (Shabrovsky village), 1
Admiral Ushakov street, 7
Bazhov street (Shabrovsky village), 11
Bolotnaya street (Sysert village) 22
Budennogo street (village of Gorny Shield) 9
Budyonny street (Gorny Shchit village) d.1
Is it possible to "disassemble into components" the name of the street, house number, village (if the street is in the village, the number of villages is limited and their names are known)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Immortal_pony, 2016-09-01
@wertex15

"Manually" is quite a difficult task.
Dadata does a great job with this.
Google can do it too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question