小编Gun*_*905的帖子

从html获取特定内容并在Perl中打印到txt文件

我有一个html文件,其中包含纸质ID和纸张.所以我想按顺序打印这些ID和论文.这是html文件和示例输出.

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 rightMargin=0 marginwidth="0" 
marginheight="0">
<DIV class=conf><A class=confName 
href="http://ehw.jpl.nasa.gov/events/ahs2006/">1st Conference on Adaptive 
Hardware and Systems (AHS-2006)</A></DIV>
<DIV class=menuoc>OpenConf Conference Management System</DIV>
<DIV class=menu>
<DIV class=menuitem><A 
href="http://www.eng.bahcesehir.edu.tr/openconf/chair/">Chair Home</A></DIV>
<DIV class=menuitem><A 
href="http://www.eng.bahcesehir.edu.tr/openconf/chair/signout.php">Sign 
Out</A></DIV>
<DIV class=menufiller>Logged in as: ahs2006&nbsp;</DIV></DIV>
<DIV class=mainbody><BR>
<P class=header>Assign Reviews</P>
<FORM action=/openconf/chair/assign_reviews.php method=post>
<DL>
<DT>
<P><B>Select Paper(s):</B></P>
<DD>
<P>[ Paper ID - Title (# Reviewers) ]</P>
<DD><SELECT multiple size=10 name=papers[]> <OPTION value=2>&nbsp;&nbsp;2 - 
Switchable Glass: A possible medium for Evolvable Hardware …
Run Code Online (Sandbox Code Playgroud)

html perl file-io text html-to-text

5
推荐指数
1
解决办法
155
查看次数

标签 统计

file-io ×1

html ×1

html-to-text ×1

perl ×1

text ×1