empty string filtering
Posted: Mon Dec 24, 2007 6:49 pm
Hello guys,
What is proper regex to filter out empty characters (spaces) string of any length. More spacific if someone someone post "_" or "____" or "________" etc (_ is space) that would be filtered however when someone go for "_hello" or "_hello_there_" etc that will pass. So for example:
/spamfilter add cN block - Empty_string_detected. <someregex>
What should be used for <someregex> to fit this need? I hope this should be easy for people familiar with regex syntax which unfortunately i'm not.
Many thanks in advance and happy holidays everyone.
What is proper regex to filter out empty characters (spaces) string of any length. More spacific if someone someone post "_" or "____" or "________" etc (_ is space) that would be filtered however when someone go for "_hello" or "_hello_there_" etc that will pass. So for example:
/spamfilter add cN block - Empty_string_detected. <someregex>
What should be used for <someregex> to fit this need? I hope this should be easy for people familiar with regex syntax which unfortunately i'm not.
Many thanks in advance and happy holidays everyone.