-4

Possible Duplicate:
Converting ereg expressions to preg

How do I convert this function with this parameters

eregi_replace("[][,.?&\"#{(_\\@)\=+\,\?.;/:!%*()|}]+", "", $data);

to preg_replace?

Community
  • 1
  • 1

1 Answers1

0

Your answer: preg_replace('/[][,.?&\"#{(_\@)\=+\,\?.;/:!%*()|}]+/', "", $data)

And please, pre_replace for more simples questions, in these places not everyone is as benevolent as me, probably you would have no answer, search before asking for asking

Yago Riveiro
  • 727
  • 13
  • 28