At 12:09 PM -0400 8/8/06, Ted Burger wrote:
Folks,

I appear to be missing something.

I have a LONG list of words:

order_id
order_num
category
listingsize
boldtype

I want to change it to:

fieldname="order_id" postargumentname="order_id"
fieldname="order_num" postargumentname="order_num"
fieldname="category" postargumentname="category"
fieldname="listingsize" postargumentname="listingsize"
fieldname="boldtype" postargumentname="boldtype"

I tried:
GREP is checked
Search: (.*)
Replace: fieldname="&" postargumentname="&"

But I get:
fieldname="order_id" postargumentname="order_id"fieldname="" postargumentname="" fieldname="order_num" postargumentname="order_num"fieldname="" postargumentname="" fieldname="category" postargumentname="category"fieldname="" postargumentname="" fieldname="listingsize" postargumentname="listingsize"fieldname="" postargumentname="" fieldname="boldtype" postargumentname="boldtype"fieldname="" postargumentname=""

I am getting doubles of the 'Replace'.

Instead of (.*) use ^(.*)$

-jwgh

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