bbcode
Simple BBparser in PHP that lets you replace content outside tags
I\'m trying to parse strings that represent source code, something like this: [code lang=\"html\"] <div>stuff</div>[详细]
2023-02-21 11:32 分类:问答BBCode vs. wiki markup for collaboration software
I\'m developing a web application to facilitate the playing of pen-and-paper RPG开发者_StackOverflow社区s over the internet.I\'m trying to determine whether BBCode or some flavor of wiki markup is pre[详细]
2023-02-21 10:16 分类:问答regex to remove bbcode tags with atrributes
I\'ve got a number of bbcode tags that have phpbb attributes (5 digit value - assuming text color or something).They look like this in the text:[详细]
2023-02-21 10:15 分类:问答How to remove improper nesting BBcode tags using PHP
For some reasons I got the following improperly nested BBcode [url=] Hello [url=] world [/url][/url] I just want to remove the nested url tags. The result should be:[详细]
2023-02-20 01:36 分类:问答markitup editor display output as html, and strip tags
im using this rte in bbcode format. http://markitup.jaysalvat.com/home/ once the textarea is submitt开发者_高级运维ed i\'m saving it with bbcode format.[详细]
2023-02-19 16:36 分类:问答ASP.MVC return image doesn't work in BBCODE
i have some simple code public virtual ActionResult Get(int id) { using (var db = new ImagesEntities()) {[详细]
2023-02-19 05:52 分类:问答Calling text from between specific HTML tags to use as data for a variable in PHP
Trying to add more functionality to my gaming site that\'s running Invision Power Board software. It co开发者_开发问答mes with the ability to add custom BBcode, and I\'m trying to make a tag that can[详细]
2023-02-16 17:46 分类:问答PHP BBcode using preg_replace() - Prevent users from entering onClick, onKeyPress
I have a simple question (not for me), ok, at first, please take a look at this: $msg=preg_replace(\"/\\[b(.*?)\\](.*?)\\[\\/b\\]/i\", \"<b $1>$2</b>\", $msg);[详细]
2023-02-13 20:39 分类:问答How can I have text inside a bbcode?
I need help with this preg_match script. I want to have a text that is inside a bbcode. So this would be the string: [caption id=\"attachment_123\" align=\"alignleft\" width=\"100\" caption=\"This is[详细]
2023-02-13 10:50 分类:问答Filtering BBCodes for certain elements
It\'s easy to explain what I want to achieve, but for me (a novice at PHP), hard to actually achieve it. Basically what I want is to make BBCodes as easily and short as possible. Instead of an array l[详细]
2023-02-10 08:24 分类:问答