I'm using some regex to validate an EditText and am trying to ensure that a user won't enter a space/whitespace. My current regex is: "^[A-Za-z0-9][\\w.-]+$";
Does anyone have any idea? I did a little research and discovered adding in \\s detects spaces but it didn't help.
Thanks for any help!