Pattern
\n"; echo "
Case
\n"; echo "
Operation
"; echo "
\n"; echo "
\n"; if($_POST["casematch"] == 1) { echo "
Sensative
Insensative
\n"; } else { echo "
Insensative
Sensative
\n"; } echo "
"; if($_POST["operation"] == 0) { echo "
Contains
\n"; } elseif($_POST["operation"] == 1) { echo "
Begins with
\n"; } elseif($_POST["operation"] == 2) { echo "
Ends with
\n"; } else { echo "
Contains
\n"; } echo "
Contains
\n"; echo "
Begins with
\n"; echo "
Ends with
\n"; echo "
\n"; echo "
\n
Sample Input
\n
\n"; echo "
$newexample
\n"; echo "
\n
\n"; echo "
Check It
\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); } ?>