Regular Expressions 101

Community Patterns

Bigger or lower than a number with <>

1

Regular Expression
Python

r"
^(>|<)?(?:\s+)?(\d+)(?:\s+)?(>|<)?$
"
gi

Description

no description available

Submitted by woss.io - 8 years ago