<?php
$testString = "Buy Widgets 20% discount with coupon code WID2010 by Friday";
preg_match("/(?=\w*[a-z])(?=\w*[0-9])\w+/i", $testString, $matches);
print_r($matches);
?>