Possible Duplicate:
Converting ereg expressions to preg
I have used this regex in php < v5.3.0
ereg('^http://www.w3.org/[0-9]{4}/XMLSchema$',$value)
As I updated to php v.5.3.0 I am trying to use preg_match(), but I have hard time creating PCRE regex which is equivalent:
preg_match('/^http\\:\\/\\/www\\.w3\\.org\\/[0-9]{4}\\/XMLSchema$/',$value)
Could someone help on this one?