Hi
A string: "/** remove remove */ here here here".
How can i use ereg_replace to let /** until */ be removed, so that only "here here here", will be left?
ereg_replace("/** remove remove */", '', $str) is not an option.
It has to be something like this: "'`\[b\](.+?)\[/b\]`is',"
(ripped from a bbcode converter)
Please tell me also what the logic is.
Grtz and thanks in advance
A string: "/** remove remove */ here here here".
How can i use ereg_replace to let /** until */ be removed, so that only "here here here", will be left?
ereg_replace("/** remove remove */", '', $str) is not an option.
It has to be something like this: "'`\[b\](.+?)\[/b\]`is',"
(ripped from a bbcode converter)
Please tell me also what the logic is.
Grtz and thanks in advance
