רק ל start?
ככה:
PHP קוד:
preg_match(preg_quote($start, '/').'(.*?)'.preg_quote($end).'/is', $s_c, $match);
או גם לend, ככה:
PHP קוד:
preg_match(preg_quote($start, '/').'(.*?)'.preg_quote($end, '/').'/is', $s_c, $match);
זה אמור לסדר את הקטע של הסלאשים?
עדיין שגיאה..