Sanitizing search & replace.