||> 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 This works with PowerGrep but not all regex engines can handle it: ((word1.*?word2)|(word2.*?word1)) ------------------------ 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/
