Modified regex to do case-insensitive matching and removed lowercase duplicates from the corresponding dictionary file