Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^(.*?)\[(.*?)(\(.*?\).*?)\]$
"
gm

Description

Mermaid brackets are enclosed in inverted commas for validity

Submitted by myaitree - a day ago