Regex to find and replace string with starting and ending text in PHP
<p>i want a php function probably regular expression to find and replace a string that starts with a constant string and ends up with a specific string and the text mentioned within those strings.. e.g.,</p>

<p><code>[Starting String]..anything.. [Ending String]</code></p>

<p>and i want to remove above pattern of string with empty space.. Kindly advise!!</p>
