Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
Python

r"
\d{1,} ([a-zA-Z][a-zA-Z0-9]{0,15}) = (\-?([a-zA-Z][a-zA-Z0-9]{0,15}|[0-9]{1,}) (\+|\-|\*|\/) \-?([a-zA-Z][a-zA-Z0-9]{0,15}|[0-9]{1,})|\-?([a-zA-Z][a-zA-Z0-9]{0,15}|[0-9]{1,}))$
"
gm

Description

ONE reg expression to use

Submitted by anonymous - 5 years ago