Stupid Outlook. Meant to reply to the list again. Sigh. Karsten Bräckelmann wrote: > > What you want. The string '<br>', repeated five times (or more). For > the quantifier, you need to group the string. > > /(?:<br>){5}/ > > Besides the above, do not use {5,} as a quantifier, UNLESS there is > something after that string you also want to match. If you do not want > to match anything after that, "exactly 5 times" {5} will match always > the same as "five or more" {5,} -- the latter just > unnecessarily keeps on trying.
Great. I've changed my rule to that, and am going to look at Adam's somewhat enhanced version to understand what all it's doing. To wit: rawbody LOCAL_5X_BR_TAGS /(?:<br\/?>[\s\r\n]{0,4}){5}/mi I note that Adam used rawbody rather than body, so I presume that I should change my rule to that as well. Thanks... ...Kevin -- Kevin Miller Registered Linux User No: 307357 CBJ MIS Dept. Network Systems Admin., Mail Admin. 155 South Seward Street ph: (907) 586-0242 Juneau, Alaska 99801 fax: (907 586-4500