I want to convert java regex to php regex. But I get error "- Text range out of order"
This is JAVA regex
"[^\\u0020-\\u007F\u011f\u00fc\u015f\u00f6\u00e7\u011e\u00dc\u015e\u0130\u00d6\u00c7\u0131]";
This is PHP regex
preg_replace("/[^\\x{0020}-\\x{007F}\\x{011f}\\x{00fc}\\x{015f}\\x{00f6}\\x{00e7}\\x{011e}\\x{00dc}\\x{015e}\\x{0130}\\x{00d6}\\x{00c7}\\x{0131}]/i","",".çşüiğıyuasdfaadsff");
I get following error "- Text range out of order"
Any Help?
PHP Warning: preg_replace(): Compilation failed: character value in \x{} or \o{} is too large at offset 26 in /home/ivJ7iQ/prog.php on line 3ideone.com/lbZv74