Not Solved [How To?] MyCode for text background color
#1
Not Solved
i try like bellow, but not work

reguler expresion

\[bgcolor color=(.*?)\](.*?)\[/bgcolor\]


replacement
<span style="background-color:#$1;">$2</span>

usage
[bgcolor=#9966cc]text wkwkw[/bgcolor]
Reply
#2
Not Solved
in the replacement code you have already used # for the color value.
so your usage should be without #
[bgcolor=9966cc]text wkwkw[/bgcolor]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)