A better regexp would be
$string = eregi_replace("[,]*", "", $string);
since this will search from the beginning of a line, and takes into account a string beginning with a comma.
As for the pimpin' game:
$ho = eregi($women, $street);
turnOut($ho);
$money = collectFrom($ho);
if (.5 * $money < 500)
{
slap($ho);
}
else
{
buyFurCoat();
}
hth.
p.