Example my string have :
text = " Hi {fullname}, wellcome u join my group"
this is my code:
text = text.replaceAll("\\{fullname\\}", user.getMobile() != null ? user.getMobile() : "");
but now i have problem if {fullname} is {FULLNAME} or {Fullname} or {fuLLname}, i cant find exactly what i want and replace it. Anyone have a solution please help me! Thanks