Regular Expressions 101

DSL tags missing closing pair tags

Open Workspace
  • PCRE2 (PHP)
  • Match
1

Regular Expression

/
\[b\](?!\w*.\[\/b\])
/
gm

Description

Checking whether all [b] tag pairs are present in *.dsl text

Submitted by Anonymous