str_replace question

From: Date: Tue, 09 Sep 2003 21:21:19 +0000
Subject: str_replace question
Groups: php.general 
Request: Send a blank email to php-general+get-162111@lists.php.net to get a copy of this message
I've got a simple expression "<quesxx> where "xx" is a number from 0 to 99. I want to replace it with simply <ques>. That is, I want to remove the numbers. Will "str_replace" do it, or must I use ereg_replace? I haven't figured out from reading the php manual on regular expression how to do this simple thing. Thanks....

« previous php.general (#162111) next »