You'll need a MongoRegex here: http://php.net/manual/en/class.mongoregex.php