How do I find if string has at least one character using regex?

Posted by Vishal on Stack Overflow See other posts from Stack Overflow or by Vishal
Published on 2010-05-20T18:40:55Z Indexed on 2010/05/20 19:00 UTC
Read the original article Hit count: 178

Filed under:
|

Examples:

  1. "1 name": Should say it has characters
  2. "10,000": OK
  3. "na123me": Should say it has characters
  4. "na 123, 000": Should say it has characters

© Stack Overflow or respective owner

Related posts about regex

Related posts about java