Regular Expressions 101

Remove unnecessary spaces after and before parentheses

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(?<=\()\s+|\s+(?=\))
/
g

Description

No description provided.

Submitted by Tenaz