Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
\e\[([0-9;]*)m
"
gm

Description

Find all SGR-type ANSI escape sequences

Submitted by delameter - 2 years ago