I have the following issue, I need to replace all semicolons inside a string which appear only between letters with a slash. The issues is that I also have html entities with semicolons and str_replace messes them up.
Sample string:
Category A > Subcategory A;Category A > Subcategory B;Category B > Subcategory C
Desired output:
Category A > Subcategory A/Category A > Subcategory B/Category B > Subcategory C