In my document I have
<Country>US</Country>
<Country>PR</Country>
Between the
<country>
and
</country>
I want to find ANYTHING except for US and PR.
For example
<country>US</country> = ignore
<country>PR</country> = ignore
<country>UP</county> = match found
What I have is
Pattern = "<Country>(.*?[^USPR].*?)</Country>"
but this ignores strings like
<Country>UP</Country>
Not sure how to write allowing only 2 options between the tags.. US and PR only.