I want to create custom tags for different things like bold, underline and italic without using a Markdown library/class.
For example
*Bold text*
/Italic text/
_Underlined text_
So the above would be changed to:
<strong>Bold text</strong>
<em>Italic text</em>
<u>Underlined text</u>
I have no idea where to begin and have been searching for a solution for ages.
I read a few tutorials on regular expressions but still unsure how to approach this.
Thanks in advanced.