REGEX-Escape for: ['class' => 'flexJustifyCenterAlert']

Your Input:
Result, the escaped string:
\['class' \=\> 'flexJustifyCenterAlert'\]


Ads

What must the escaping look like for:
['class' => 'flexJustifyCenterAlert']

The excaped text for use in a regex is:

\['class' \=\> 'flexJustifyCenterAlert'\]


Ads