I have a list of all the entites written in a file.
I am iterating the file and all the characters of '&' is replaced with '&'.
please help me how to check string exists in a file which have entities. If the characters exists, then I have to skipped substitution for &.
Please provide me ideas for proceeding further