On Wed, Sep 23, 2009 at 01:00:51PM -0700, Keith wrote:
> I can use GREP find to find all letters after the comma
> ,([a-z0-9-_. ]+$)
> I can use replace to substitute the line.
> \1
>
> But how do I get GREP to find the lines with 17 or more characters to
> trim the lines?
>
> 2128,GPD TAC 1 west yellow
> becomes this
> 2128,GPD TAC 1 west y
Try this:
Find
(,[a-z0-9\-_. ]{16})[a-z0-9\-_. ]+$
Replace
\1
Ronald
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---