1
我有這樣的過濾圖像,正則表達式基於文本
<td class="optionsImg" style="display:none;">
<img src="../status/approved-01.png" />
<img src="../status/rejected-02.png" />
<img src="../status/pending-01.png" />
</td>
,我想這一點,
var allImages = $(".optionsImg").find("img");
現在我需要選擇具有「-02.png」上面圖像使用任何可能的技術,我想保持它儘可能短