Here is my old script that worked since... oh I don't know... version
8?!

tell application "BBEdit"
        activate
        set w to window 1
        if (selection of w as text) is "" then
                set target to w
        else
                set target to selection of w
        end if

        replace "href=\"/index\\.php using href=\\\"http://www\
\.exhibitorsdaily\\.com/index\\.php" searching in target options
{search mode:grep, starting at top:true, wrap around:false,
backwards:false, case sensitive:false, match words:false, extend
selection:false}

        replace "<tr>
        <td  colspan=\"2\">
                .*?
                        Read more\\.\\.\\.</a>
        </td>
</tr>" using "" searching in target options {search mode:grep,
starting at top:true, wrap around:false, backwards:false, case
sensitive:false, match words:false, extend selection:false}


end tell

-- 
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