quick preg_replace question ... need some help
testing+123
testing+1+2+3
What l'd like to do is strip off the + signs and anything after them,
So in this example both strings would become 'testing'
Can anyone help me with a preg_replace that would solve this problem for me?
Regards,
-
Brandon Tanner -
Thanks
Signature{{ DiscussionBoard.errors[7642900].message }} -
-
David V -
Thanks - 1 reply
{{ DiscussionBoard.errors[7643324].message }}-
Brandon Tanner -
Thanks - 1 reply
Signature{{ DiscussionBoard.errors[7643460].message }}-
David V -
Thanks
{{ DiscussionBoard.errors[7643891].message }} -
-
-
-
dwoods -
Thanks
{{ DiscussionBoard.errors[7643998].message }} -
-
oldschoolwarrior -
Thanks
{{ DiscussionBoard.errors[7645119].message }} -