Skip to main content

Posts

Showing posts with the label regx

InteljIDEA find and replace with advance regular expression

Day to day text editing task going to easy with regular expression. InteljIDAE provide rich editing experience with power of regex.  Example - What I have to do - Create POST request like line number 1, using list of text. Solution - Check screenshot bellow.   

Find duplicate line from file

Finding duplicated lines can be done easily using regular expressions, Nowadays many text editors support  regx. Regx - ^(.*)(\r?\n\1)+$ This is my favorite editor IDEA community edition .