Regex to split BBCode into pieces
Please don’t use BBCode. It’s evil. BBCode came to life when developers were too lazy to parse HTML correctly and decided to invent their own markup language. As with all products of laziness, the result is completely inconsistent, unstandardized, and widely adopted. Try to use a user-friendlier markup language, like Markdown (that’s what Stack Overflow … Read more