i have 2 files . one is test.html ,and other is main.php
test.html
<div class=\"col-sm-5 blind-s4\">
<div class=\"blind-box \">
<img src="blob:http://example.com/aea01f28-dcd0-41c2-80fa-4f021fe9d40d" class="new-img">
</div>
</div>
Second in main.php
<div class="full-html" id="full-html">
<?php include("test.html");?>
</div>
Here i want to replace all \" in test.html with " .
(2) I want to replace all starting with blob with new image name
ie:blob:http://example.com/aea01f28-dcd0-41c2-80fa-4f021fe9d40d with new.img
or
blob:http://example.com/some_url with new.img
How i can do this ?
<?php str_replace( '\"', '"', include("test.html")); ?>