Searching in dreamweaver
Hi, If I wanted to search in Dreamweaver for: set('') Where is variable, I can use the RegEx features of Dreamweaver's Find/Replace Once I find my string, however, how do I replace it to: setXXX()? Basically I need to be able to reference the variable portion of my result... Is this even possible? Thanks, Baz ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229144 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Searching in dreamweaver
This isn't tested but you could try this in the 'find' box: set\('9[^']*?)'\) And this in the replace box. set\1() On 1/11/06, Baz [EMAIL PROTECTED] wrote: Hi, If I wanted to search in Dreamweaver for: set('') Where is variable, I can use the RegEx features of Dreamweaver's Find/Replace Once I find my string, however, how do I replace it to: setXXX()? Basically I need to be able to reference the variable portion of my result... Is this even possible? Thanks, Baz ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229146 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Searching in dreamweaver
Correction, teh replace with field should be: set$1() On 1/11/06, Scott Stroz [EMAIL PROTECTED] wrote: This isn't tested but you could try this in the 'find' box: set\('9[^']*?)'\) And this in the replace box. set\1() On 1/11/06, Baz [EMAIL PROTECTED] wrote: Hi, If I wanted to search in Dreamweaver for: set('') Where is variable, I can use the RegEx features of Dreamweaver's Find/Replace Once I find my string, however, how do I replace it to: setXXX()? Basically I need to be able to reference the variable portion of my result... Is this even possible? Thanks, Baz ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229148 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54