Announcement

Collapse
No announcement yet.

Reg Expression query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reg Expression query

    Hi

    I'm trying to ignore a number sequence when compelting a text compare. (See attached jpg). I believe i have the reg expression detailed correctly, but for some reason Beyond Compare is not ignoring the difference as i would expect.

    Could you advise if I am not detailing the rule correctly.

    I'm tring to detail a rule to ignore;

    Extract 1 001496906564311618588
    Extract 2 001531417563311618588

    001/d{18}


    The numbers will continue to change throughout the file, so i was basing the exception on the three digits at the start of the string 001.

    Many thanks,
    Stu
    Attached Files

  • #2
    Hello,

    That's very close. You just need to use \ instead of /.
    001\d{18}

    Then in the Session Settings, Importance tab, make sure that "Exclude CUNI Number" is unchecked. Then optionally change "Use for this view only" to "Also update session defaults" to apply for future comparisons.
    Aaron P Scooter Software

    Comment

    Working...
    X