ignore dates in pdf compare

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ppat7046
    Journeyman
    • May 2010
    • 11

    ignore dates in pdf compare

    I am using BC 4.2.3 64-bit. I have two pdf files. BC comparisons shows difference due to different dates in two pdf files.
    pdf1 has 7/14/2014 and pdf2 has 4/27/2015.
    The date displayed in pdf under Account Due Date.
    How do I configure BC to ignore this date difference?

    Thank you,
    Prashant
    Last edited by ppat7046; 17-Jan-2018, 09:49 AM.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15941

    #2
    We have a KB article and video for how to define a grammar and mark it as Unimportant, here:
    https://www.scootersoftware.com/supp..._unimportantv3

    Do you need to ignore these exact dates? Or a more general date string like this regular expression?
    \d+/\d+/\d{4}
    Aaron P Scooter Software

    Comment

    • ppat7046
      Journeyman
      • May 2010
      • 11

      #3
      Thank you Aaron. Your suggestion is worked.

      By looking at the video I came up with:
      mdyyyy \d{1}/\d{1}/\d{4}
      mddyyyy \d{1}/\d{2}/\d{4}
      mmdyyyy \d{2}/\d{1}/\d{4}
      mmddyyyy \d{2}/\d{2}/\d{4}

      Comment

      Working...