Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^x\/\(x\+\d+\)\s*=\s*\(\d+x\)\/\d+$
"
gm

Description

re to validate x/(x+b)=(dx)/a like 7/(x+9) = (4x)/3

Submitted by anonymous - 2 years ago