Replace any text from html text by tag name with specific attribute in php
function replace_tag_with_specific_attr_type( $tagAttribute, $tagAttributeValue, $subjectStr, $tagName=null,$replaceStr ) { if( is_null($tagName) ) $tagName = ‘\w+’; else…
Read More