in reply to I want to find a group of pattern in a xml file

What Fletch said. Plus, be very careful about how you match age. Your XML might contain <age> 43 </age>. (Note the embedded blanks; your original test would have failed.)
  • Comment on Re: I want to find a group of pattern in a xml file