EmEditor (text editor) Forum Index
   Regular Expressions
     question about regular expression capabilities
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
hydra
Posted on: 9/4/2010 9:51 pm
Just popping in
Joined: 9/4/2010
From:
Posts: 4
Re: question about regular expression capabilities
hi yutaka,

thx for the quick reply, however it doesnt do what i need it to do. allow me to explain:

1. when the pattern "board=XYY" is found, i need it to be changed to "board=YYX". your above suggestion does this. so far so good.

2. BUT, when the pattern XXY is found, i want it to do nothing! your above suggestion changes all instances of XXY into XYX. this is something i must avoid.

is there any expression that can do both #1 while avoiding #2?
Flat Previous Topic | Next Topic


Subject Poster Date
   question about regular expression capabilities hydra 9/4/2010 9:02 pm
     Re: question about regular expression capabilities Yutaka 9/4/2010 9:28 pm
     » Re: question about regular expression capabilities hydra 9/4/2010 9:51 pm
         Re: question about regular expression capabilities hydra 9/4/2010 10:00 pm
           Re: question about regular expression capabilities Jibz 9/4/2010 10:49 pm
             Re: question about regular expression capabilities hydra 9/4/2010 11:02 pm
               Re: question about regular expression capabilities Yutaka 9/5/2010 10:54 am
                 Re: question about regular expression capabilities Jibz 9/5/2010 9:20 pm

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