I've made my own markup language for the chapters in my database, very similar to the vBulletin markup as used here in the forums. Replacing the markup tags with their HTML equivalent is no problem as long as the markup doesn't have any property (like [P] -> <P> or [B] -> <B>).
However, when it comes to markup with properties like
[SOMEURL=http://www.thissite.com]This site[/SOMEURL] I don't know how to replace the URL markup with a A HREF tag but still keep the URL. Can anyone tell me how this is accomplished?
Thanks very much in advance !