2008-04-18, 11:34 AM
Hi!
First I'm not sure if this is the right forum so sorry if it doesn't belong here!
I want to make a BB code form this:
What I had done and it didnt work is:
Where did I go wrong?
First I'm not sure if this is the right forum so sorry if it doesn't belong here!
I want to make a BB code form this:
[hilight={COLOR}]{TEXT}[/hilight]
repl.
<span style="background-color:{COLOR};">{TEXT}</span>
What I had done and it didnt work is:
\[hilight\={.*?}\]{.*?}\[/hilight\]
repl.
<span style="background-color:"$1";">$2</span>
Where did I go wrong?