Reg expression help

Tool for Search and Replace across multiple files.
Post Reply
pelfed
Posts: 1
Joined: Wed Mar 26, 2014 7:42 pm

Reg expression help

Post by pelfed »

Hi

I'm trying to do a find and replace using reg expression.

I need to find all occurance of an SQL field called products: So in lots of files i may have the following (and maybe across multiple lines):

Code: Select all

<cfquery> select * from table1 ts, products ps, productskus psk where etc etc </cfquery>
I simple need a way to replace the 'products' whith another name that doesn't affect 'productskus' and only between <cfquery>
Post Reply