title: How can I search a text using regex excluding a character?
body: <p>I want to search a text using regex using \S but excluding the "," at the end.</p>
  
  <p>p.e.:
  text, tàta réta</p>
  
  <p>My regex must find text (without the ",") tàta réta</p>
  
  <p>I tried this but it didn't work:</p>
  
  <p>/\&lt;\S+[^,]</p>
  
  <p>\w doesn't work also, because it doesn't find the non ascii characters èéòà etc.</p>