Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
\\\((.*?)\\\)
"
gm

Description

Substitute the oneliner GPT equations \(..\) to tex like i.e.$..$

Submitted by MyAITree - 6 days ago