我想替換下面的圖片源 http://www.fishingwithdon.com/wp-content/uploads/2006/06/drop_off_area.jpg需要正則表達式替換
與 http://www.test.com/test/uploads/2006/06/drop_off_area.jpg
意味着我要替換「http://www.fishingwithdon.com/wp圖像源的一部分-content /「與」http://www.test.com/test/「
但是我想要替換的字符串每次都不一樣。
任何幫助將不勝感激。
感謝,
Umesh製作庫卡尼
如果該字符串不會是每次都一樣,你怎麼打算預測字符串將是什麼? – afuzzyllama