Bob Barrows [MVP] wrote:
u0*******@gmail.com wrote:
UBB Code is a conversion code from "html code" such as <a
href="www.xxx.com">xxx</ato a safe form.
when i write a bbs programme ,i need to write it
... and what do you want to do with it?
UBB (Ultimate Bulletin Boards) code is a set of pseudo-html tags used
on bulletin boards. If someone wanted to post a link within a message,
they do this:
xxx.
Clearly, somewhere within the code that manages the posted submission,
there is some process (Replace()/RegExp?) to convert this to a standard
html link. There are only a limited set of html tags that are included
in the "standard" set of UBB codes, so preventing users from posting
any html they like.
To uOkey - you shoud look at the Regular Expressions offered by
VBScript or JScript, depending on your preferred scripting language.
That would seem the easiest solution to your question.
--
Mike Brind