0

I am trying to get beyond compare ignore a single "-" and double "--" hyphen. I am comparing two PDF documents where the original has a single hyphen and the edited copy replaced all the single hyphens with doubles. I want Beyond Compare to ignore that difference.

I have searched and found where people are able to ignore after either a char or digit (below), but these may be preceded with a space?

[0-9,-]+
Kevin Schultz
  • 886
  • 3
  • 20
  • 42

1 Answers1

0

You could use the replacement setting (Session->Session Settings) enter image description here

To do this, you don't need a regex, the replacement is done only in one side.

knut
  • 27,320
  • 6
  • 84
  • 112