how can i say `from beginning to $string` and `from $string to the end` in regexish for php
- by hyilmaz
Hi,
I want to remove a part from a text till the given string, and remove another part starting from another string in php.
/.+string/i and /anotherstring.+/i didn't work.