[問題] 如何寫regular expression去除html tag

看板Perl作者 (阿傑)時間18年前 (2007/05/29 22:56), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
如何寫regular expression去除html tag -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.225.71.141

05/29 23:13, , 1F
s/<[^>]*>//g;
05/29 23:13, 1F
文章代碼(AID): #16N3yjJy (Perl)
文章代碼(AID): #16N3yjJy (Perl)