I want to find links with text in big string. I'm looking for such pattern: [text](url), for example
[Check it on stackoverflow](https://stackoverflow.com/)
I have regex which finding mostly good results but there is problem when this pattern is enclosed in brackets like
This is our forum ([Check it on stackoverflow](https://stackoverflow.com/) maybe you can help)
Regex: /\[(.*)\](\(.*.*?\))/
I do need to put sentence between .* like .*stackoverflow.*.
Is there possibility to stop regex after first )?