I have some problems to do a regex....
I would like to replace wrong bbcode color by a default bbcode.
[color=#123456] => OK
[color=#] => KO
[color=] => KO
[color=#1234567] => KO
[color=#12345] => KO
I started to do something but I don't understand how doing multiple tests in a regex and how match just after the = with differents mix
For exemple :
Thanks a lot for your help :)