'aaa aaaa aa'.replace(/aaa/g, '')
'aaa aaaa aa'.replace(/\baaa\b/g, '')
'aaa aaaa aa'.replace(/(^|\s)aaa(\s|$)/g, '')