regex-extract

extracts text out of the first capturing group

npm install regex-extract
8 downloads in the last month

extracts text out of the first capturing group

npm loves you