I don't think it will, I've just been messing about with this. Its for a news page, try it...
$news is the variables to be inserted.
$news = str_replace("argh","****",$news);
If you put argh anywhere in the text box with name news, **** gets put into the db instead of each occurence of argh.
If you have problems, I check back fairly often.