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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...