I don't think you need the '?',

.* means match any number of any characters. The question mark means match exactly 0-1 instances.

-D
On Feb 25, 2008, at 11:58 AM, Ken Loomis 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]>



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

Reply via email to