I've recently moved from bblog to wordpress and I imported all my old posts using a script that I found here and mucked about a bit to get it to work. The problem is that I should have done more to tidy the bbcode into something wordpress would understand.
The issue I have is that I need the following replacements:
[i] --> <em>
[/i] --> </em>
[pic] --> <img src="/pictures/
[/pic] --> .jpg" alt "an imported picture" />
[url= --> <a href="
It gets worse here because I would need something that could replace:
Can someone advise on the php or mysql code I need to do these replacements in all posts please?
An example of a duff post containing all those issues on my site can be found here: