use regex to extract words from string scala code example
Example 1: replace all punctuation in string java
inputString.replaceAll("\\p{Punct}", "");
Example 2: regex to get part of word nodejs
/\(\{#(.*?)#\})\)/g.exec("({#test#})")[1] === "test"