I tried to use
find ./ -type f -name '*.php' -exec grep -slE '^asdasd' {} \;
and
find ./ -type f -name '*.php' -exec pcregrep -l '^asdasd' {} \;
But this commands found files, where 'asdasd' in beginning of lines, not of all text, for example:
File content:
qweqwe
asdasd
czczc
I want to find files only with this file content:
asdasd
qwdq
qwdad
(asdasd in beginning of all text)