I am needing to find whether the words root, name, or server are in a line with Regex so I can ignore them, but I have not found a good solution to identify them yet.
The format of what it would scan through is like this:
<Server name="JZL902757">
<Snapshots timestamp="02/10/2022 12:16:31">
<Snapshot root="D:\somefolder\anotherfolder">
All three words will always have a space preceding them and a "=" coming after.
I found this Regex to match string containing two names in any order in trying to find a solution but it did not yield any matches when testing it.
Any help or suggestions are appreciated.