简体   繁体   中英

How to Convert BB Code To HTML view (VB.NET)

我的想法是,为具有自己的BB CODE(PHP)的网站编写一个程序,然后该程序的用户可以编写其消息,并使用该BB代码(在程序内部)对消息进行范围调整,这一切都可以容易完成,但是我做不到的一件事, 如何在发送带有该BB代码的评论之前添加评论(不连接到互联网),我的意思是将这个bb代码转换为具有相同外观的HTML页面信息 。

Not sure I've fully understood your question. You want a preview without sending the form to the server? Try replacing the BB codes with javascript (using regular expressions might be a hint).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM