Add string check for supplant pattern