Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\s?\\([\(\)])?(?(1)|[\[\]])\s?
/
gm

Description

Convert ChatGPT markdown formula to $ format. You should use _substitution _ mode, and input ${1:+\$:\n\$\$\n}

Submitted by lexatang - 2 months ago (Last modified 2 months ago)