I use this constantly to perform GREP replacements on variables:
tell application "BBEdit" to set theString to replace findString using newString searchingString theString options {search mode:grep, case sensitive:false, match words:false}

How can I script the equivalent of a "Find All" on a variable to get every line/paragraph that contains my find string?



------------------------------------------------------------
Happy Automation!

Larry McMunn


President
McMunn Associates, Inc.
Collingswood, NJ
Seminole, FL

Mobile:     (856) 261-7018
Main Office:  (856) 671-6067
Seminole, FL:  (727) 392-6509
FAX: (866) 636-4446                            [EMAIL PROTECTED]







--
------------------------------------------------------------------------
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_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to