I want to delete <h1>
xxx yyyy zzz </h1>
with php. But, first, I want to control if string starts with <h1>
and ends with </h1>
Is there a function for this purspose?
if(string begins with '<h1>' and ends with '</h1>'){
replace `<h1>`xxx yyyy zzz `</h1>` to 'NULL or empty space'
}