Regular Expressions 101

Community Patterns

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