Hi,
I'm trying to find in a folder (find in files) all the text documents containing a SELECT statement wich contain concrete fields in WHERE clause, but the more I try, the more I fail.
The regex i tried last time, after some hours of thinking and searching very carefully was this:
select[\s\r\n\w\W\D]+TABLENAME([\s\r\n\w\W\D]*FIELD1|FIELD2)*
This simply doesn't work, neither each expressions tried before.
The FROM clause is not specified because of I'm sure that the field names are unique in database.
Can anybody help me??
Than you in advance.
I'm trying to find in a folder (find in files) all the text documents containing a SELECT statement wich contain concrete fields in WHERE clause, but the more I try, the more I fail.
The regex i tried last time, after some hours of thinking and searching very carefully was this:
select[\s\r\n\w\W\D]+TABLENAME([\s\r\n\w\W\D]*FIELD1|FIELD2)*
This simply doesn't work, neither each expressions tried before.
The FROM clause is not specified because of I'm sure that the field names are unique in database.
Can anybody help me??
Than you in advance.