Parsing phpBB BBCode
Closed this issue · 3 comments
enniob commented
Is it possible to parse phpBB code that has the following format
[quote:5d5097a40c="userName"] some text [/quote:5d5097a40c]
DasRed commented
Yes. That is possible. You can create your own instance with your own set of bbcode definitions or add your own bbcode to the default parser.
With the default parser you can use the add function. First parameter is the regex object and the second parameter is the replacement.
enniob commented
Thanks for the information. I was able to get it working.
narendra087 commented
Thanks for the information. I was able to get it working.
can you show me how you do it for that [quote] format? thank you