I have created a function in Javascript for converting BB Code to HTML as my business uses BB Code to simplify article writing for users.
Below is the javascript functio