精華區beta RegExp 關於我們 聯絡資訊
目前已知 filefront.com 的檔案網址有兩種格式 如下 http://files.filefront.com/DreamWeaverexe/;9096184;/fileinfo.html http://files.filefront.com/9096184 其中 9096184 必然為7碼數字 DreamWeaverexe 為不定長度字串 謝謝各位的指導 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.195.75.159
qrtt1:抓 domain 後的 / 字串, 全數字是第二種, 其他第一種 11/25 22:37
blc:當然這是賭DreamWeaverexe不會是7碼數字就是了,贏面滿大的。 11/25 23:14
寫出來像這樣 http://files.filefront.com/ \w* (?:/;)? \d{7} (?:;/fileinfo.html)? ※ 編輯: chrisdar 來自: 163.23.17.131 (11/27 15:03)