On 06 Jun 2006, at 17:30 , Richard A Clarke wrote:
replace "^.*\\t" using "" searching in text 1 of text document 1 ¬
options {search mode:grep, starting at top:true, wrap around:false,¬
backwards:false, case sensitive:false, match words:false, extend¬
selection:false}
The paranoid in me would insist on changing that to
replace "^\\d+\\t" using "" searching...
Or at the very east .*?\t which would at least
only remove to the first tab, otherwise it will
delete everything up to the last tab...
But as long as you know there is no tabs in the original file, that's ok...
It's an amazing example of the power of BBEdit,
especially combining AppleScript and perl.
Enjoy,
Peter.
--
Check out Interarchy 8, just released.
<http://www.stairways.com/> <http://download.stairways.com/>
--
------------------------------------------------------------------
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]>