I try to find and stock in HTML paragraphe all the word.
Actually, I have a function like this
p.html(function(index, oldHtml) {
return oldHtml.replace(/\b(\w+?)\b/g, '<span>$1</span>');
});
But it's only return word without accent. I test on regex101.com https://www.regex101.com/r/jS5gW6/1
Any idea ?