the following variable …
var breadcrumbs = $('#trail').html();
… contains:
<href="page1/">Page 1</a> <strong>»</strong> <a href="page2">Page 2</a> <strong>»</strong> <a href="page3">Page 3</a>
How can I replace each <strong>»</strong> with something else?
Just a regular old
replaceshould do it. Be careful about», it might be written as»in the markup or something…