I was wondering how I can check if the user entered a grouped set of characters I am using
$inmessage = ereg_replace("[adam]", "A" border = 0>", $inmessage);
In this example each letter a, d, and m would change to A.. How I make it so only when the user type adam it will change to A?