search multiple string from a directory
-
hi,
I have multiple XML files in a directory, I need to search two particular tags combination to be present in the same file from that directory.
the two tags which i am searching are <menu id> and <maxcount>xml file will be like this below,
<menu id>
<some tags>
</some tags>
<maxcount></maxcount>
</menu>
i tried using this regular expression <menuid>|<maxcount> in findwhat i am getting the files with these combination but along with these others file having <menuid> or <maxcount> are also coming in search hits…but i wanted to search only these combination to be found in a file. -
There’s some nice stuff on how to do that HERE.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login