Search for multiple substitutions in panic strings