In RegEx, I want to find the tag and everything between two XML tags, like the following:
RegEx
XML tags
You should be able to match it with: /(.+?)<\/primaryAddress>/
/(.+?)<\/primaryAddress>/
The content between the tags will be in the matched group.