\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; if($_POST["casematch"] == 1) { echo "\n"; } else { echo "\n"; } echo "\n"; echo "\n\n\n"; echo "\n"; echo "
\n
\n"; echo "\n"; echo "\n"; if($didmatch == 1) { if($status == 1) { echo "Pattern Matched
\n"; for($i=0;$matchpattern[0][$i];$i++) { echo "Matched: " . $matchpattern[0][$i] . "
\n"; } } else { echo "Pattern Did Not Match
\n"; } } function htmlready($input, $output) #Turns the " so it is HTML compliant. { $output = str_replace("\"",""", $input); } ?>
PatternCaseOperation
Sample Input