Let's say I've got some text with a couple tags like this:
[twitter:jpunt]
I want to replace those into something like this:
<a href="http://twitter.com/jpunt">@Jpunt</a>
How could I do this in Ruby? I've been researching regular expressions for a couple of hours, just with a lot of frustration as a result. Anyone?