"(?<=(.))(?!\\1)"
Can someone help me break this down?
I understand that ?<=
is looking at all the characters following (.)
basically any character, but then i get lost on the (?!\1)
part.
Im very new to regex and while this has helped solve my problem i really want to understand whats going on here.
Thanks!