now removing periods from input text as well.