replace everything before a character in java code example
Example 1: java regex replace all characters before
String s = "the text=text";
String s1 = s.substring(s.indexOf("=")+1);
s1.trim();
Example 2: replace everything before a character in java
result = result.split("\n")[0];