I am looking for a regex yielding to characters which are not word-characters nor a soft hyphen (U+00AD).
This will give me characters which are not word-characters:
((?=\W).)
But what about the soft hyphen character? What is the correct regex?
You can do this:
(NOT a word or soft hyphen)
I created a quick and dirty
last_symbol()
function: