Mb_ereg_replace() [function.mb-ereg-replace]: mbre

software development

#1

I have this error, and I have no idea how to fix it.

Here is the pattern that I currently have:
mb_ereg_replace("^([\x00-\x1f]|[\x21-\x2c]|[\x2e-\x2f]|[\x3a-\x40]|[\x5b-\x60]|[\x7b-\x7f])+","",$query_to_parse);

And this is the error i get:
Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in…

Anyone out there knows how to fix this?