Hi I'm looking for a way to parse text "dynamically" for a kind of BBcode.
In my guestbook you can specify the text color like on this board and then something like
[/code] appears. Now I need a regex or something to look for
[/code] and replace it with
[/code] using the #HEXHEX
value. Has anyone an idea how to do such a thing?
Mainly my problem is not finding the [color=#0-1a-fA-f] but to convert it to
[blue]Don't give big brother a chance![/blue]