You can try this pattern to match your emoticons:
/(:\))|(:\()|(:\\)|(:\/)/
More Related Contents:
- Java Variable Substitution
- Counting the occurrence of a special character, numbers and letters on a user-specified string
- Extract Substrings using regex Java [closed]
- Remove HTML tags from a String
- What do ^ and $ mean in a regular expression?
- Java string split with “.” (dot) [duplicate]
- String.replaceAll(regex) makes the same replacement twice
- Rationale for Matcher throwing IllegalStateException when no ‘matching’ method is called
- Regular expression with variable number of groups?
- Is it possible to match nested brackets with a regex without using recursion or balancing groups?
- Escaping special characters in Java Regular Expressions
- How to split String with some separator but without removing that separator in Java? [duplicate]
- Java regex for support Unicode?
- What is the use of Pattern.quote method?
- Java Regex to Validate Full Name allow only Spaces and Letters
- How to escape comma and double quote at same time for CSV file?
- Tokenizing Error: java.util.regex.PatternSyntaxException, dangling metacharacter ‘*’
- How to Split a mathematical expression on operators as delimiters, while keeping them in the result?
- Simple Java regex matcher not working
- removing characters of a specific unicode range from a string
- Can you use zero-width matching regex in String split?
- Use Java and RegEx to convert casing in a string
- RegEx in Java: how to deal with newline
- Pattern to extract text between parenthesis
- What are the differences between perl and java regex capabilities?
- Regex search with pattern containing (?:.|\s)*? takes increasingly long time
- String.replaceAll is considerably slower than doing the job yourself
- Remove all occurrences of \ from string
- Extract ip addresses from Strings using regex
- Validate if input string is a number between 0-255 using regex