救名!这个问题问好多人都不会,说是用正则表达式才你!(100分)

Z

zxf_1

Unregistered / Unconfirmed
GUEST, unregistred user!
在HTML中有<img src=&quot;xx.jpg&quot;><img alt=&quot;&quot;
src=&quot;xx.jpg&quot;><img height=96
src=&quot;xx.jpg&quot;>....
反正就是<img和src=&quot;中间有东西,现在用ASP做一程序把所有的图格式化成
<img src=&quot;xx.jpg&quot;>
 
Z

zxf_1

Unregistered / Unconfirmed
GUEST, unregistred user!
有人会没有呀,大侠!!!!
 
Z

zxf_1

Unregistered / Unconfirmed
GUEST, unregistred user!
在线等:267456602
 
Z

zxf_1

Unregistered / Unconfirmed
GUEST, unregistred user!
/<img.*src=/&quot;&quot;(.*)/&quot;&quot;.*>/isU
 
C

chen_liang

Unregistered / Unconfirmed
GUEST, unregistred user!
你可以javascript的正则表达式进行格式化,网上关于正则表达式语法介绍资料很多,你可以搜索一下,一般每个语言的正则表达式都有replace函数,用它来替换你查询到的文本。
 
Z

zxf_1

Unregistered / Unconfirmed
GUEST, unregistred user!
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
718
import
I
I
回复
0
查看
665
import
I
顶部