How can I avoid incoming data, so I can use it as a template in preg_replace() and spouses? For example, I need to match this line:
/vorschau/
Obviously, I need to escape the "v" or I will get an error.
I can not find anything in the documentation. For this, is there some kind of addslashes() or a workaround inside the expression?
source share