This is a very basic trick to get a link url from a TextArea control.
To do this we are going to use the "link" event.
There are just two simple rules to follow:
1- The format of the htmlText has to be as following:
The text after "event:" will be the text sent on he TextEvent (the link event).
2- The TextArea must have the "selectable" property set to TRUE (the default value), otherways the "link" event will not be dispatched (even if you see the handCursor when you roll over the link).
Here you can see a very basic Applcation using this feature:
And the result of the code above: