i ve search for that info, but can t to figure out how to understand properly a regular expression.
I have a html file and there are multiple <img>
tags. Each of these tags have attribe src
with following data: /newsletter/images/light/b/NUMERICVALUE/IMAGENAME.jpg
Assuming that the NUMERICVALUE
and the IMAGENAME
are always different value in each src
attribute.
所需要的是从每公升中删除<代码>/NUMERICVALUE。 怎样才能做到这一点?
感谢任何建议。
这方面的例子有:
/newsletter/images/light/b/617359405/lf-header.jpg
/newsletter/images/light/b/617359406/up-logo.jpg
/newsletter/images/light/b/617359407/logo-header.jpg