Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Re: help Please !!

  •  05-08-2007, 3:26 PM

    Re: help Please !!

    mycotics,

    may I kindly point out to you post number 29450 in the thread I mentioned?

    if (preg_match('/^(?=.*bill)(?=.*bob)/', $string)) {
        echo "Oh, look! Bill and Bob are finally here! Let's have a party!";
    }

    will do what you want. 

    Filed under: ,
View Complete Thread