How do I write regex to limit alphabets, numbers and a single dot?! String **** --- temp 105.75 deg Important notice. Good bye..,,... --- **** //\\ Regular Expression: [^A-Za-z0-9.] [^A-Za-z0-9\\.] Both did not help!