Please tell me how js finds strings contained in certain characters through regularization.

for example, there is a paragraph of markdown

.
-sharp-sharp mysql
>mysql"MySQL Command Line Client"mysql;";"

![image](http://localhost:3000/images/markdown/image-1551081068552-11.png)
[http://localhost:8081/markdown/3](http://localhost:8081/markdown/3)

how to find the address of the picture in! [image] () through the rule?


    .match(/!\[image\]\((\S*)\)/)

clipboard.png

Menu