regex, check if a line is blank or not

Posted by Adnan on Stack Overflow See other posts from Stack Overflow or by Adnan
Published on 2010-06-10T08:28:41Z Indexed on 2010/06/10 8:32 UTC
Read the original article Hit count: 196

Filed under:

I am trying to make simple regex that will check if a line is blank or not.

Case;

"    some"   // not blank
"   " //blank
"" // blank

© Stack Overflow or respective owner

Related posts about regex