finnished regx check on input text