Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
Python

r"
(?<![-+\/*(\s])((\s*\()?(?:(?:\s*\$Q\w+\s*|\d+\.?\d*\s*)[-+\/*])+(?:\s*\$Q\w+|\d+\.?\d*)\s*(?(2)\)))(\s*[=!><]+\s*)(\d+\.?\d*)
"
x

Description

no description available

Submitted by anonymous - 9 years ago