|
|
От: |
Qulac
|
|
| Дата: | 13.05.25 07:41 | ||
| Оценка: | |||
_>import re
_>text = '12 ГКК-5-282(219), (что то тут есть)'
_>well_pattern = r'ГКК[\-\dА-Я]+(\(.+\))*?'
_>wells = list(re.finditer(well_pattern, text, re.MULTILINE))
_>for m in wells:
_> print(text[m.start():m.end()])