Replace i and b tags with em and strong tags using PHP Jul 13th, 2013 (updated Jul 31st, 2013) Here's a function that replaces <i> and <b> with <em> and <strong>. This comes in very handy in migrations. In the future, it would be nice to also convert <font> tags. Read more about Replace i and b tags with em and strong tags using PHP