Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Regular Expression For Finding Empty String
ch praveen
Ranch Hand
Posts: 67
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Friends,
What is the regular expression to determine whether a
string
is empty or not.
It should work when string has either of the values ""(true here),
" "(true here),
" "(true here),
"Hi Hello"(false here)
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you can try the following to determine if information has been entered.
\S+
Eric
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to remove ^M programatically
The regular expression to parse �(abc.3, d.42), (cde.2, 3)�
When doing Matcher start on pattern \d* returned index seems off
RegEx Question
String replacement
More...