I wrote a regular expression:
^(проезд|пл|пр-кт|пер|наб|линия|км|б-р|аллея|кв-л)\s(.+)[^\)]$
Which divides the string into street type and street name. Some streets have street location description, which i don't want to select.
Here it is: https://regex101.com/r/j3gF5b/2
It works, but every last symbol in street name are missing. I would like to know why this happens and how to repair it?