Jump to content

Help With Replace

gar onn

Recommended Posts

PHP has many functions to replace strings, But I do not understand how things like this work:

preg_replace("/(<\/?)(\w+)([^>]*>)/e", "'\\1'.strtoupper('\\2').'\\3'",  $html_body);

could someone explain this and say what the above code does?

yes, I've red the pages on php.net

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...