-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan wrote: >> If you could give us a sample of what you are trying to match, maybe >> we could suggest an alternate route. > > Stuart, > > Its lines and lines of this kind of thing: > > "> <DIV> <STRONG> V</STRONG></DIV> <DIV> L</DIV> <DIV> A</DIV> <DIV> > <STRONG> V</STRONG></DIV> <DIV> P</DIV> <DIV> X</DIV> <DIV> <STRONG> > C</STRONG></DIV> </DIV> > <DIV > > Dan >
Hmmm, four DIVs, near each other, each with a single alpha and whitespace. May not be what you are trying to catch, but it's the only real pattern I can see from that snippet. rawbody T_4_DODGY_DIVS m'<DIV>\s+\w</DIV>.{1,40}?<DIV>\s+\w</DIV>.{1,40}?<DIV>\s+\w</DIV>.{1,40}?<DIV>\s+\w</DIV>'i describe T_4_DODGY_DIVS Testing... score T_4_DODGY_DIVS 0.01 (note, the regexp should be on one line with no spaces) That will catch it. You'd have to see what it FPs on though. You could also get it to pick on single alphas between html tags with a little tweaking. C. - -- Craig McLean http://fukka.co.uk [EMAIL PROTECTED] Where the fun never starts Powered by FreeBSD, and GIN! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEaPXUMDDagS2VwJ4RAgjdAJ9Uv7TmKzEeE4ee8zh51r7J8UFbvwCgywG0 ZGaVPYHX6X9+e5e5+fUGDFM= =/hQ0 -----END PGP SIGNATURE-----