Hi guys, l have a few strings for example:
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,



Reply With Quote




Bookmarks