Search using exact match
I have a looping script that looks at a file serial number to conduct a search. An example of this file serial number is 01_01_01_01. The first two digits are domain and level, and are the terms I search for. This works pretty fine except I have files with the serial number 05_01_01_05 and these records are coming up in the search. How do I make sure that the first 5 spaces is matched and nothing else?