revised regex for kyte user inputs