F 
		
								
				
				
			
		Frank Rizzo
Hello, i am regex newbie.  I want to extract text between 2 markers.  I
want all the text that happens to be between <h2> and </h2>.
So far I got this:
<h2>.*</h2>
for this sample input:
<h2>hello</h2>
<h2>goodbye</h2>
<h2>wait</h2>
However, the regex also returns the markers, while I only want hello,
goodbye, wait.
I know I can Substring it, but I want to do it with regex alone.
Thanks.
				
			want all the text that happens to be between <h2> and </h2>.
So far I got this:
<h2>.*</h2>
for this sample input:
<h2>hello</h2>
<h2>goodbye</h2>
<h2>wait</h2>
However, the regex also returns the markers, while I only want hello,
goodbye, wait.
I know I can Substring it, but I want to do it with regex alone.
Thanks.