I want to search a string
"call_before_download = function(){
showInstallInstructions(); }
"call_before_download = function(){" AND "showInstallInstructions(); }"
Something like this should work
...| regex _raw="call_before[\s\S]+showInstallInstructions\(\); }"
If you have this extracted in a field, you should replace _raw
with fieldname