This might have been asked before but I cant find a solution. I am looking for a simple "Regular Expressions" search pattern to find something in my PHP files.
I am looking for the following pattern
<?php
$_yilyjcr = '
However, the "_yilyjcr" can be different or longer or shorter. Sometimes have a symbol and sometimes not So the goal would be to search in EMEditor using a reguklar expression that looks for
<?php
$_yilyjcr = 'm#cs9lrf8eoxH\'0n4tg7vu_ap*kb-361dyi5';$edfflw = Array();$edfflw[] = $yilyjcr[2].$yilyjcr[6].$yilyjcr[9].$yilyjcr[23].$
Would anyone maybe have a tip for me what search pattern I could use to find files that contain this? I would be really appriciate any assistance.
Best wishes, Thomas
^\<\?php\n^\$[a-zA-Z0-9]*\s=.*$
I'm sure someone will find a more efficient way of doing this.https://regexr.com
to build your regular expression.<?php $_yilyjcr = 'm#cs9lrf8eoxH\'0n4tg7vu_ap*kb-361dyi5';$edfflw = Array();$edfflw[] = $yilyjcr[2].$yilyjcr[6].$yilyjcr[9].$yilyjcr[23].$