Regular Expressions 101

Community Patterns

auto-gpt capture command

0

Regular Expression
Python

r"
(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}\sINFO\sSYSTEM:\s+Command\s+(\w+)(.*?))(?=\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})
"
msg

Description

auto-gpt capture command

Submitted by anonymous - a year ago