I'm trying find all instances of a string and replace them, the original string looks like this:
<li><a href="#" onclick="alert('soon!');">Some Text Here</a></li>
the replacement looks like this:
<li><a href="<?php print $somevar;?>/some.php">Something new</a></li>
What would be a good way to do this in the CLI
Thanks