Hello.

Here are some examples:

preg_match('|slovo1(.*)slovo2|', $content, $output); preg_match('/slovo1(.*)slovo2/', $content, $output); preg_match('(slovo1(.*)slovo2)', $content, $output); 

What is the difference between all of them?

    1 answer 1

    As far as I know, these symbols serve only to separate the template directly from the additional service modifiers. Theoretically, it can be any symbols and differences in what - no matter how. Most often used are /, #, ~, |