Код: Выделить всё
str = '2024-09-23 18:05:08,147 INFO [WatchDog_191084] (alloc:0MB, cpu:0%) 10 422'
Код: Выделить всё
identifier_test = re.search('(?
Подробнее здесь: [url]https://stackoverflow.com/questions/79043689/python-re-identifiers-not-working-with-lookahead-and-lookbehind[/url]