Minor bugs in RegEx Matching for filtering multiple occurences of a letter in a word