Use entities in string to be matched