The purpose of this note is to test the automation process for correctly converting an article title in to a friendly URL. The process uses the PHP str_replace function first to convert spaces to hyphens. Then a the PHP RegEx (preg_replace) furhter filters the article title to alphanumeric and spaces.
Might as well test out the TinyMCE code insert as well.
$myArticleURL = preg_replace("/[^a-zA-Z0-9-]+/", "", str_replace(' ', '-', $_POST['txtArticleTitle']));