I'm upgrading to Laravel 5.7 and as part of that I need to update all or
in Blade to ??
, wherever they are surrounded by curly brackets ({{ }}
or {!! !!}
). I'm trying to use Regex in PhpStorm to find all instances of this (i.e. {*or*}
where *
could be any number of any characters).
How would I do this?
I did try this myself but I am new to Regex and my attempt is probably pathetically bad:
/{[^!][or]}/