看板 [ RegExp ]
討論串[問題] 抓取網頁裡面的資訊
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者gemini392 (銘)時間15年前 (2009/08/21 12:53), 編輯資訊
2
0
0
內容預覽:
最近剛接觸正規表示法. 想請問大家. <td class="defaultstyle" align="left">想擷取下來的資訊</td>. 該如何寫會比較好??. 目前我比較直覺想到的是. '/<td class="defaultstyle" align="left">(.+?)<\/td>/'

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者gemini392 (銘)時間15年前 (2009/08/21 20:44), 編輯資訊
0
0
1
內容預覽:
以下附上程式碼,我是用C#寫的. 麻煩大家幫忙解惑了 @@". using System;. using System.Collections.Generic;. using System.ComponentModel;. using System.Data;. using System.Drawi
(還有1219個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者alin993 (alin993)時間15年前 (2010/06/25 18:27), 編輯資訊
0
0
0
內容預覽:
sed '/^<.*>\(.*\)<.*>/\1/'. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 210.59.230.176.
首頁
上一頁
1
下一頁
尾頁