David wrote: > It found "virus found" which was probably part of "No virus found" which > AV Scanners like AVG will put into the footer of emails. > > Is there a way to edit that regex so it finds "virus found" but only > when not part of "No virus found"?
This should match "virus found" as long as its not preceded with "no " (?<!no )virus found This is called a negative lookbehind. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
