> To cross that hurdle you have to combine alternation and the wildcard: > (word1|word2).*?(word1|word2)
With this, it also matches when you have word1 twice, with no word2 (learned some things with those examples though, thanks =) ). Is there any other permutations that you can think of that might get a match for having (at least) one instance of word one, and (at least) one instance of the 2nd word? Who'd have though "AND" was so complicated... =) David Troesch | Atlanta, GA | ICQ# 2333123 Do you have the right computer stuff? http://tinyurl.com/ytu7z Funstuff: Tact is for people where aren't witty enough to be sarcastic ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
