I went :
ACP>Message Filters># Custom MyCode >Add MyCode >
Regular expression : \[sup\](.*?)\[sup\]
Replacement <sup>\\1</sup>
or another try: <sup>$1</sup>
then post :
e=m*c[sup]^2[/sup]
Didn't work. Have I a mistake?
You have the code right. This works for me.
Regular Expression:
\[sup\](.*?)\[/sup\]
Replacement:
<sup>$1</sup>
Make sure that there aren't any spaces in your regular expression. That'll mess you up
Thanks for your guide but It didnt change.
I seperate all things and test times and times. No difference.
Are you absolutely certain that there's not a space in there accidentally? I screwed up at first and put a space at the beginning of the regular expression and that caused it to not work for me.
[
attachment=4152]
O^Op's
Regular expression : \[sup\](.*?)\[sup\]
Should be
Regular expression : \[sup\](.*?)\[/sup\]
That works fine for me too...
Q: Do you want to, know how to add a button to the editor for it ?
No Mate you were not...
We're all guilty of the same thing.
Do you want too, or are you going to add a button for the function ?
I can help if you need it.