Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript: php-eregi

Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript: php-eregi

Post Top Ad

Post Top Ad

Showing posts with label php-eregi. Show all posts
Showing posts with label php-eregi. Show all posts

Sunday, July 7, 2019

PHP Regular Expressions Switching from ereg to preg

6 years ago 0

PHP Regular Expressions Switching from ereg to preg Problem You want to convert from using ereg functions to preg functions. Solution First, you have to add delimiters to your patterns:        preg_match('/pattern/', 'string'...

Read More

Post Top Ad