I'm a newbie. I'm trying to find the full name in either one of the lines below and without the Obituary for
<h2>Obituary for John Doe</h2>
<h1>James Michael Lee</h1>
My regex is this.
(<h1>(.+?)<\/h1>|<h2>Obituary\sfor\s(.+?)<\/h2>)
What I'm getting is still Obituary for John Doe. How to remove the Obituary for?