what always used to get me is line-breaks. So expand Ken's answer by allowing line break characters to follow sail:
sail[\w\W]*?;" (AND: does anyone know a better way to do this? There's a switch you can use when doing this in Perl, right, so am I missing a similar option in BBEdit?) --cc On Mon, Feb 25, 2008 at 11:58 AM, Ken Loomis <[EMAIL PROTECTED]> wrote: > Try this: > > sail.*?;" > > Ken > > > > > > ---- Original Message ---- > From: [EMAIL PROTECTED] > To: [email protected] > Subject: GREP > Date: Mon, 25 Feb 2008 07:12:41 -0900 > > > > >I know I've done this sort of thing successfully in the past, but I > >am having difficulty at the moment. I am trying to find an replace a > >word (e.g., sail) followed by a random series of characters (numbers, > > > >letters, symbols) of varying length, followed by a semicolon and a > >quote (;"). ideas? > > > >Thanks. > > > >Ken Winterberger > > > >-- > >------------------------------------------------------------------ > >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]> > > > > Ken Loomis > Consultant > Windows, Macintosh, Internet, etc. > Helping to make your technology > experience more pleasant & profitable ;-) > 619-275-6919 > Fax: 267-220-6919 > [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_talk.shtml> > List archives: <http://www.listsearch.com/BBEditTalk.lasso> > To unsubscribe, send mail to: <[EMAIL PROTECTED]> > > -- --> CC <--- -- ------------------------------------------------------------------ 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]>
