Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-11-20 18:54
Flavor·PCRE (Legacy)

/
(\$[^\n$]*[^\s$])(-|=|\+)([^\s$][^\n$]*\$)
/
g
Open regex in editor

Description

Find nonspaced operators with capturing groups to reformat correctly.

Submitted by Dave