\$2" ;
>
>//$string = "John D. Smith" ;
>$string = "Joanne (Taylor) Smith" ;
>
>echo preg_replace( $pattern, $replacement, $string ) ;
>
>HTH
>Ignatius
>_
>- Original Message -
>From: "Herhuth, Ron" &l
Do you have control on the input data? E.g. are or are not
the input originated from the entropy source known as end
users?
-Original Message-
From: Herhuth, Ron
To: [EMAIL PROTECTED]
Sent: 2003-11-06 14:54
Subject: [PHP-WIN] String Help
I have an instance where I am trying to remove a
_
- Original Message -
From: "Herhuth, Ron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 2:54 PM
Subject: [PHP-WIN] String Help
I have an instance where I am trying to remove a couple different string
scenerios from a variable.
I have an instance where I am trying to remove a couple different string
scenerios from a variable. I have spent some time with regEx but I'm not
getting anywhere. I'm hoping someone could help me out here.
Basically I have names that MAY contain middle initials which I need to
remove:
John D.