Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: question about regular expression capabilities #8927
    hydra
    Member

    jibz,

    such an elegant solution! thank u so much!

    in reply to: question about regular expression capabilities #8925
    hydra
    Member

    if the regular expression function cant do this, can u write a simple script/macro that does this for me?

    in reply to: question about regular expression capabilities #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?

Viewing 3 posts - 1 through 3 (of 3 total)