On Jan 19, 2007, at 9:23 AM, Bill Rowe wrote:
What I would like to be able to do is something like
Find ^(.*?,){6}.*?,(.*) and
Replace with something representing just the portion of the pattern
set off by "(" and ")"
The search pattern is easy. I haven't figured out the replacement
pattern. And it may well not be possible to do what I would like in
a single step.
Roland Kuffner posted an example this morning in answer to your
question that does exactly what you are asking:
Search for:
^((?:.+?,){6}).+?,(.+)
Replace with:
\1\2
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>