I want to create an editor and store formatted text in database. I want just a sample editor do functions like StackOverFlow editor:
_sfdfdgdfgfg_ : for underlined text
/sfdfdgdfgfg/ : for bolded text
I will use a function to replace the first _ by <b> and for the second </b> (respec. for /).
So my question is how can I do to detect the end and the last _ and / if they are nested??
For example :
/dsdfdfffddf _ dsdsdssd_/ ffdfddsgds /dfdfehgiuyhbf/ ....
I will use this editor in Java Application.
So what you want is a Java Version of markdown.
Here’s what Google finds:
http://code.google.com/p/markdownj/