Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}\sINFO\s+THOUGHTS:(.*?)(?=\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}\sINFO\s+THOUGHTS:)
"
gms

Description

auto-gpt-THOUGHTS block

Submitted by anonymous - a year ago