On Sat, May 27, 2006 8:58 am, Merlin wrote:
> I am somehow lost when it comes to regex. I am trying to remove ! and
> ?
> characters from a string. Could somebody please help me to get a
> working
> regex running for that?
>
> I tried: $str = preg_replace('/\!\?\./', ' ', $str);
An alternative:
$s
Merlin wrote:
thank you, that worked excellent!
Merlin
Dave Goodchild schrieb:
On 27/05/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex runn
thank you, that worked excellent!
Merlin
Dave Goodchild schrieb:
On 27/05/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
Merlin wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
$s = "?!help!?";
echo "--",$s,"--",preg_repl
On 27/05/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
How about $s
Merlin wrote:
> Hi there,
>
> I am somehow lost when it comes to regex. I am trying to remove ! and ?
> characters from a string. Could somebody please help me to get a working
> regex running for that?
>
> I tried: $str = preg_replace('/\!\?\./', ' ', $str);
>
> Thank you for any help,
>
> Mer
6 matches
Mail list logo