I have a folder of files that all have the same content except for a few lines in each file where the value of a few XML tags are unique. For example
<string>xGjZFTJxvqVQykiYFrdd</string>
I want to do a search of all the files to make sure that all of these tags follow the same format (20 characters). I also want to verify that the XML tag itself is formatted correctly, that <string> and </string> are present.
Is there a way to do this with some sort of parser tool since I should not use regex for XML?
Comments
Post a Comment