討論串[問題] 用Regex去消除html的hyperlink
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者jiing24 (jiing)時間20年前 (2005/08/27 08:26), 編輯資訊
0
0
0
內容預覽:
要用不貪多比對的?. Perl 語法概念上是. $str=~ /<a href(.*?)<\/a>/g;. ^^. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 59.120.12.63.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者heliosy (這一欄是要做啥用的)時間20年前 (2005/08/24 16:43), 編輯資訊
0
0
0
內容預覽:
以下是我試寫的簡單程式碼. Regex re = new Regex("<a href=.*\">");. StreamReader sr = new StreamReader("a.htm");. string line = null;. string all = null;. while((li
(還有431個字)
首頁
上一頁
1
下一頁
尾頁