I am trying to create a regex that will give me everything that appears between [start-flashcards]
and [end-flashcards]
I am using \[start-flashcards\](.*?)\[end-flashcards\]
but this doesn't match. I must be missing something?
<p>[start-flashcards]</p>
<p>[London|This is the capital city of the United Kingdom]</p>
<p>[Paris|This is the capital city of France]</p>
<p>[Madrid|This is the capital city of Spain]</p>
<p>[Tokyo|This is the capital city of Japan]</p>
<p>[Moscow|This is the capital city of Russia]</p>
<p>[end-flashcards]</p>