How to ignore repeated numbers from text file comparison

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varun
    New User
    • Jun 2016
    • 2

    How to ignore repeated numbers from text file comparison

    I am comparing two text files. Both the files have 11 digit ID's which I don't want to compare.
    How I can I ignore those Id's using regular expression
    Id example: 00000123456, 00000123457, 00000123458
    I don't want to compare the value in my text file and want to ignore these.
    Can someone please let me know how I can do it?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    You would define a grammar to match on this text, then mark that grammar element name as Unimportant. We have a KB article and video here:
    http://www.scootersoftware.com/suppo..._unimportantv3

    Would any 11 digits be an ignore-able number? \d{11} as a RegEx?
    Aaron P Scooter Software

    Comment

    Working...