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?
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?
Source: https://ru.stackoverflow.com/questions/134375/
All Articles