Распечатайте каждое слово в строке JavaScript
'This is a test. This is only a test.'.match(/\b(\w+)\b/g)
Dead Donkey
'This is a test. This is only a test.'.match(/\b(\w+)\b/g)