I'm trying to replace all instances of
$offer->variablenames
with
$offer['variablenames']
Is this possible? I'm using advanced find plugin for gedit.
It's just heiroglyphs to me... Would very much appreciate help.
Thanks
I'm trying to replace all instances of
$offer->variablenames
with
$offer['variablenames']
Is this possible? I'm using advanced find plugin for gedit.
It's just heiroglyphs to me... Would very much appreciate help.
Thanks
Find what:
\$offer\-\>([a-zA-Z0-9_]*)
Replace with:
$offer['\1']
Make sure to have Regular expression
checkbox checked.
I'm not sure what advanced find plugin syntax is. In vim I would use s/$offer->\(.*\)/$offer['\1']/g
© 2022 - 2024 — McMap. All rights reserved.