KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can anyone give me a Java regex to identify repeated characters in a string? I am only looking for characters that are repeated immediately and they can be letters or digits. Example: abccde <- looking for this (immediately repeating c's) abcdce <- not this (c's seperated by another character)
Tags (comma-separated)
Save Edits
Cancel