Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $string = 'Here is your content with an image tag <img src=\"http://bavotasan.com/wp-content/themes/bavotasan_new/images/bavota.png" alt="Image" />' ;
- $string = str_replace('\"',"b", "$string");
- echo $string; // will output "Here is your content with an image tag" without the image tag
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement