Regular Expressions 101

Between Brackets

Open Workspace
  • Python
  • Substitution
1

Regular Expression

r'
(?<=\[)[^\[\]]+(?=\])(?#This matches anything DIRECTLY between two square brackets)
'
gm

Description

No description provided.

Submitted by Anonymous