How to count the occurrences of multiple numbers(specific not random) in a text file?



  • Want to check how many times 855834693 & 855834706 repeated in a file?
    these 2 numbers appeared multiple times in a file and I want their combined count.
    Do you think it is possible?



  • @Rehan-Babar
    It is possible. You need to use a regular expression (regex) in the Find window and have search mode set to “regular expression”.
    Find what:855834693|855834706

    Press the count button.

    This regex uses alternation, that’s the pipe character between the numbers to say either number will count as 1.

    Terry


Log in to reply