#8924
hydra
Member

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?