php/e03Form.php~

<form action="e03Form.php" method="post">
<h2>e03Form.php recursive = form = action</h3>
<h3>preg = perl like regular expression in php</h3>
 <p>preg: <input type="text" name="preg" value=<?php echo '"' . stripslashes($_POST['preg']) . '"/> strlen ' . strlen($_POST['preg'])  ?> /></p>
 <p>match: <input type="text" name="match" value=<?php echo '"' . stripslashes($_POST['match']) . '"' ?>/> 
<?php echo ' === preg_match(preg, match) ==> ' . preg_match(stripslashes($_POST['preg']), stripslashes($_POST['match'])) ?> </p>
 <p>replace: <input type="text" name="repl" value=<?php echo '"' . htmlspecialchars($_POST['repl']) . '"' ?>/> 
<?php echo ' === preg_replace(preg, replace, match) ==> ' . preg_replace($_POST['preg'], $_POST['repl'], $_POST['match']) ?> </p>
 <p><input type="submit" /></p>
<h2>Source</h2>
<?php highlight_file('e03Form.php') ?>
</form>