I\'m trying to write a simple method for removing specific BBCodes from an input string.
For example, where I have an input of:
string input = \"[b]H
The below regex would capture the string Hello World! inside the second group.
Hello World!
^(.*?)((?<=])[^[]*)(.*)$
DEMO
So replace all your input string with the second captured group.