\"\...">

Convert POSIX template to PCRE in php (eregi to preg_match)

eregi("<input[[:space:]]+type=[\"\']?hidden[\"\']?[[:space:]]+value=[\"\']?([^> \"\']+)[\"\']?[[:space:]]+name=[\"\']?(form_page_origine|form_origine|page_origine)[\"\']?[[:space:]]*/?>"

How can I switch it to preg_match? thank.

+3
source share
1 answer

Take a look at http://php.net/manual/en/reference.pcre.pattern.posix.php , you will find all the necessary information.

+1
source

All Articles