changes made to validation regex