
jessma
New User
Aug 4, 2003, 8:29 AM
Post #1 of 4
(1575 views)
|
|
Substitute codes to html
|
Can't Post
|
|
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. 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:[url:www.aplace.com]a place (a end here which I can't get to show) and then convert them into an ordinary a href-tag. Many forum, like this one, use this. Any ideas someone?
|