DEV Community

Discussion on: Daily Challenge #272 - Printer Errors

Collapse
 
jinoantony profile image
Jino Antony

Javascript

(str) => `${(str.match(/[n-z]+/g) || []).length}/${str.length}`