References
String.matchAll()
Leírás
A függvény az egyező elemeket adja vissza.
Szintaxis
matchAll(regexp)Példa
let text = 'I love cats. Cats are very eary to love. Cats are vwery popular.'
const example = text.matchAll('Cats')
 
// Expected output: Cats,Cats