With -E you get extended grep, extended by regular expressions. "(a|b|c)" means "find a or b or c":
Another approach, if DOB always follows Empid, and 2020 is allways following 033516 is, to print one additional line of output:
A third solution would go for the xml-structure. There are tools to search in xml like xmlstarlet, but I don't know how to use them
Maybe there is something more simple out there, than xmlstarlet.