Convert BBCode to HTML

Enter BBcode here :



BB Codes you can use
FORMATTING
[b]bold[/b]
[i]italic[/i]
[u]underline[/u]
[s]strike[/s]
[sub]subscript[/sub]
[sup]superscript[/sup]
[mark]Highlighted text[/mark]
[color=red]red text[/color]
He said : [quote=http://www.jahajee.com]jahajee[/quote]
[code]x + y = 6;[/code]
[pre]NAME 	:	[url=/JAHAJEE/]RISHI KASHYAP[/url][/pre]

LINKS
http://www.jahajee.com
[url]http://www.jahajee.com[/url]
[url=http://www.jahajee.com]jahajee.com[/url]

LIST
[ul][li]item 1[/li][li]item 2[/li][/ul]
[ol][li]ordered item 1[/li][li]ordered item 2[/li][/ol]

TAGGING
[org=/T-S-Chanakya/]T S CHANAKYA[/org]
[ppl=/JAHAJEE/]RISHI KASHYAP[/ppl]
[tag=/merchant-navy-forum/]MERCHANT NAVY FORUM[/tag]

VIDEOS
This video is inline 
[youtube]l9ZqXlHl65g[/youtube]
Normal youtube links will come at end https://www.youtube.com/watch?v=l9ZqXlHl65g 

TABLES
[table]
[tr][th]1st Cell Head[/th][th]2nd Cell Head[/th][/tr]
[tr][td]1st row 1st cell[/td][td]1st row 2nd cell[/td][/tr]
[tr][td]2nd row 1st cell[/td][td]2nd row 2nd cell[/td][/tr]
[/table]

SMILEY
This is happy :)
Now I am very happy :D
Now I am sad :(