Aug 4, 2003, 8:29 AM
Post #1 of 4
I'm new to both regexp and perl, and I've really tried to find a solution to this, but I couldn't find any.
Substitute codes to html
I'm writing a forum and I don't want the users to be able to use html. So far, so good, I've got that to work. Although I still want them to be able to post a (or several) link or picture, with the help of special codes, such as:
and then convert them into an ordinary a href-tag. Many forum, like this one, use this.
[url:www.aplace.com]a place (a end here which I can't get to show)
Any ideas someone?