Remaking clean to be case insensitive

Remade clean function to find by lowercase and replace remade to Regexp with 'gi' flag.