As well as the current simple and user friendly system of setting up BBCodes (
{simpletext}
), there should be an option to specify custom BBCodes using regular expressions. This would allow stuff like a phone number BBCode which would only work with valid phone numbers, and a youtube BBCode which would allow any of the URL syntaxes.For obvious reasons, it should come with warnings.