regex-extract

extracts text out of the first capturing group

npm install regex-extract
4 downloads in the last week
8 downloads in the last month

extracts text out of the first capturing group

npm loves you