You could pull out just the label from a link, like so:

```
[match, linkLabel, linkUrl] = link.match /\[(.*?)\]\((.*?)\)/
```