There is some text I'm selecting which goes something like this: Name: John Doe Age: 23. I am trying to extract name and age. Here are my regex expressions:
Name:
Name: ([A-z ]+)
Age:
Age: (\d+)
However, both the Name: and Age: text appears. How do I get rid of this? I thought enclosing it in a captrue group would help, but it's doesn't work at all!