Created
May 26, 2018 05:39
-
-
Save sjyun/e2182655befb9b38be54faa35f6e581e to your computer and use it in GitHub Desktop.
이모지 제거테스트
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String ar[]){ | |
String serializeString = "😂\uD83D\uDE4F😁제목😁\uD83D\uDE35\uD83D\uDE01"; | |
System.out.println("init" + serializeString); | |
String ret = serializeString.replaceAll("[\\uD83C-\\uDBFF\\uDC00-\\uDFFF]", ""); | |
System.out.println("ret" + ret); | |
System.out.println(System.getProperty("java.io.tmpdir")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment