Regular Expressions 101

Community Patterns

All but my string

1

Regular Expression
Python

r"
^((?!LeA_1).)*$
"
gmi

Description

Return all but the given string

Submitted by elypma - 8 years ago