r regex replace everything before character code example
Example 1: replace all punctuation in string java
inputString.replaceAll("\\p{Punct}", "");
Example 2: java regex replace all characters before
String s = "the text=text";
String s1 = s.substring(s.indexOf("=")+1);
s1.trim();