regex - Removing duplicate characters from pairs -


I have a document in Notepad ++, where combinations of characters can be doubled in each line and I want them to be Should be single. For example:

  ((AA11bb 88 ccc)) - & gt; (A1B8CC)  

This is removing a duplicate character for each pair (2) characters.

Hope you can help.

<

Use capturing group and backference.

Find:

  (.) \ 1  

Replace with:

  \ 1  

Enter image details here


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -