Syntactic Confectionery Delight | |
PerlMonks |
get the string upto word containing tag blockby shan_emails (Beadle) |
on Aug 17, 2010 at 06:50 UTC ( [id://855409]=perlquestion: print w/replies, xml ) | Need Help?? |
shan_emails has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, Is there any option to get the pattern in $str variable. ie., upto 1st match of word containing "<w:t>" tag block. for example
then the output become $output = '<w:pict>4</w:pict> </w:r></w:p><w:tbl><w:tblPr> <w:t> </w:t> <w:t>Figure 2.</w:t>';
Thanks, Shanmugam A.
Back to
Seekers of Perl Wisdom
|
|