I have several lines and documents of text that contain lines like these. I want to extract data that occurs after "pn=" and put it in a map where in the case below group becomes my key and Fulton_County_Grand_Jury the value. Need help with building a regex to extract this.
<wf cmd=done rdf=group pos=NNP lemma=group wnsn=1 lexsn=1:03:00::
pn=group>Fulton_County_Grand_Jury</wf>