Hello All,
I want to remove all text between 2 values.
e.g: [pdf]remove text[-pdf]
displays
[pdf][-pdf]
I have tried everything and can't seem to get it to work.
Any help is appreciated
Thanks
remove all text between 2 values in a string
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: remove all text between 2 values in a string
Look at the documentation for preg_replace().
(#10850)