Im trying to match a string that could have an unknown values. This is part of the overall string:
</option>
<option value="*any value*">*any value*</option>
<option val
How would I get reg-ex to check if this existed?
This is what I already unsucessfully have:
$match_str='/<\/\option>
<\option value="(.+)">(.+)<\/\option>
<\option val/i';
if (preg_match($match_str, $page-source)) {
echo "A match was found.";
} else {
echo "A match was not found.";
}
Help would be most apreciated.
Thanks - prc