not me.  but you could do:

replace <cfoutput query=  with <cfoutput query="

then

replace <cfoutput query=""  with <cfoutput query="
for all those where it put an extra " at the front when it wasn't needed.

not so elegant, but quicker on the brain.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                     
                    "Aidan Whitehall"                                                  
                                     
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    nks.co.uk>                    cc:                                  
                                     
                                                  Subject:     [ cf-dev ] RegEx 
replace in ColdFusion Studio 5              
                    20/06/2003 11:37                                                   
                                     
                    Please respond to dev                                              
                                     
                                                                                       
                                     
                                                                                       
                                     



A search and replace went awry and resulted in lots of these

 <cfoutput query=GetSomeQuery">

Doing a Extended Replace in Studio 5 checking the regular expressions
box with this

 Find: <cfoutput query=[^"]
 Replace with: <cfoutput query="

results in

 <cfoutput query="etSomeQuery

where the quotation mark is added, but the first letter of the query is
lopped off.

Does anyone know how to get it to just add the quotation mark to the
start of the query name?


Thanks

--
Aidan Whitehall <mailto:[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775
Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to