小编Lit*_*ish的帖子

使用powershell以HTML格式检索文本

在这个HTML代码中:

<div id="ajaxWarningRegion" class="infoFont"></div>
  <span id="ajaxStatusRegion"></span>
  <form enctype="multipart/form-data" method="post" name="confIPBackupForm" action="/cgi-bin/utilserv/confIPBackup/w_confIPBackup" id="confIPBackupForm" >
    <pre>
      Creating a new ZIP of IP Phone files from HTTP/PhoneBackup 
      and HTTPS/PhoneBackup
    </pre>
    <pre> /tmp/IP_PHONE_BACKUP-2012-Jul-25_15:47:47.zip</pre>
    <pre>Reports Success</pre>
    <pre></pre>
    <a href =  /tmp/IP_PHONE_BACKUP-2012-Jul-25_15:47:47.zip>
      Download the new ZIP of IP Phone files
    </a>
  </div>
Run Code Online (Sandbox Code Playgroud)

我要检索的文本IP_PHONE_BACKUP-2012-Jul-25_15:47:47.zip之间或只是日期和时间IP_PHONE_BACKUP-以及.zip

我怎样才能做到这一点 ?

html regex powershell

4
推荐指数
1
解决办法
8607
查看次数

标签 统计

html ×1

powershell ×1

regex ×1