<?php $phrase = "*title** Some text goes here."; $target = ['**', '*']; $replace = ["</h1>", "<h1>"]; $newPhrase = str_replace($target, $replace, $phrase); echo $newPhrase;
You have javascript disabled. You will not be able to edit any code.