Good Day,
Is there any alternative in getting everything inside a tag using regex. here is my code:
MatchCollection matches = Regex.Matches(chek, "<bib-parsed>([^\000]*?)</bib-parsed>");
here is the sample input:
<bib-parsed>
<cite>
<pubinfo>
<pub-year><i>1984</i></pub-year>
<pub-place>Albuquerque</pub-place>
<pub-name>Maxwell Museum of Anthropology and the University of New Mexico Press </pub-name>
</pubinfo>
<bkinfo>
<btl>The Galaz Ruin: A Prehistoric Mimbres Village in Southwestern New Mexico</btl>
</bkinfo>
</bib-parsed>
that sample above will be matched but when there are "0's inside the pubyear like "2001" the matching fails. any alternative for this? thanks