Community Patterns

Community Library Entry

2

Regular Expression
Created·2016-06-22 15:33
Flavor·Python

r"
\$([\w]+)->([^\W]+)
"
g
Open regex in editor

Description

Find PHP object variables, and replace them with (array)brackets.

Submitted by The Milkman