EmEditor (text editor) Forum Index
   Regular Expressions
     invert equations
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
user
Posted on: 3/25/2012 4:08 pm
Home away from home
Joined: 9/29/2006
From:
Posts: 212
invert equations
hello!

I have a list like this:

Quote:

231=234
523=423
52342=52


etc

is there a simple way to invert those equations and make them like this?

Quote:

234=231
423=523
52=52342


thanks
ToadLoadin
Posted on: 3/25/2012 7:34 pm
Just can't stay away
Joined: 7/4/2008
From: China
Posts: 119
Re: invert equations
Try replace

(\d+)=(\d+)


with

\2=\1


Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文