On Jul 15, 2011, at 20:22, Robert Huttinger wrote:
> (\s+|\t+)$
> this will remove all spaces and tabs
______________________________________________________________________

Hey Bo,

\s == whitespace (which includes tabs)

All that's needed to trim lines:

\s+$

This will trim whitespace only from the eof:

\s+\Z

This will trim whitespace only from the bof:

\A\s+

--
Best Regards,
Chris

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to