자바 정규식을 사용하고 있습니다.역 정규 표현식을 부정하는 방법
{emp.address.street}{emp.name}{emp.surname}
the location is at with the name ,
지금 내가 결과를 다음 얻기 위해이 역 할 : 위의 문자열을
String s = "the location is at {emp.address.street} with the name {emp.name},{emp.surname}";
을 따를 내가 문자열을 가지고, s.replaceAll("\\{(.*?)\\}", "")
다음과 같은 문자열을 반환
... 당신이 어떻게 작동하는지 설명해 주시겠습니까? $ 1의 역할은 무엇입니까? – xbmono