Made it better

now checks if ends with .*** or .**
* being a character.