Hello ppl!

The  last  two days I tried to create a reply template that quotes lines
that are not empty or have only whitespaces.

Basically  I  would  like  to  have  the  equivalent  of this short perl
program

while ($line=<>) { next if $line =~m/^\s*$/; print "> $line"; }

I  am new to regular expressions and allthough I know that ^\s*$ matches
empty lines I don't know how "negate" this expression. Any help ? :)


________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to