Ask about general coding issues or problems here.
2 posts • Page 1 of 1
As egami stated "preg_match() will probably be your best bet."so there is no regular expression function in php any more,
eregi uses POSIX for its regular expressions, preg uses PERL. You will need to rewrite your expressions to fit the PERL syntax but it is faster than eregi which is why ereg has been deprecated.