preg_match("/<img onClick='this\.style\.maxWidth=\"490px\"; this\.style\.maxHeight=\"490px\";
this\.style\.cursor=\"default\";' style='cursor: pointer; display: block; float: left; max-width:
490px; max-height: 160px;' src='(.)+'><br style='clear: left;'>/",$CONTENT,$MATCHES);
print_r($MATCHES);
爲什麼不拿到這個圖像源?的preg_match問題
哇。第一個單獨的CSS和JS從HTML,然後我們會談論正則表達式... – Dor
謝謝你沒有回答我的問題...順便說一句,我發現它沒有工作,因爲我把(。)+不是(。+) ..... –
感謝您編寫這樣一個不清楚的問題......人們需要閱讀這個你知道的。順便說一句,我不是downvoter。 – Dor