Trim user text inputs