Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
regex to check non empty string
Garg's
Programming language:
Whatever
2021-07-12 14:35:44
0
Q:
regex to check non empty string
Andrew Ng
Code:
Whatever
2021-08-22 15:46:01
/^(?!\s*$).+/
1
Tags
string
empty
check
Related
regex ignore spaces
regex to remove spaces
excel check if cell not empty
regex only letters not spaces
whitespace regex
regex remove all non alphanumeric except spaces
how to replace empty string with undefined
New to Communities?
Join the community