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

GO: Serve static pages -

java - how to parse a JSON string into ObjectNode in Jackson? -

objective c - How to open front/back camera at the same time in iOS developing? -