zontrakulla Posted November 20, 2010 Share Posted November 20, 2010 Hello, I need this php code changed to preg_match please if(eregi("someurl",$data)) Thank you Link to comment https://forums.phpfreaks.com/topic/219301-eregi-preg_match-convert/ Share on other sites More sharing options...
salathe Posted November 20, 2010 Share Posted November 20, 2010 Hi zontrakulla, please refer to the first two numbered points on the handy (3 point) list at http://php.net/reference.pcre.pattern.posix In short, read that page and use delimiters and the case-insensitivity pattern modifier. Link to comment https://forums.phpfreaks.com/topic/219301-eregi-preg_match-convert/#findComment-1137186 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.