由于对正则表达式没点概念,看了看语法,也是有点迷惑。正好要急等用,希望大家帮助一下。<html> <head> <title></title> </head><body><input id="1" readonly="readonly" name="1" type="text"/>
<input id="2" readonly="readonly" name="2" type="text"/>
<input id="3" readonly="readonly" name="3" type="text"/>
<input id="4" readonly="readonly" name="4" type="text"/></body></html> 这么一个简单的HTML示例文件。我想把name="3"的input 替换为<input id="3" aaa="bbb" name="3" type="text"/>也就是说根据name这个条件替换readonly="readonly" 为别的标签。
解决方案 »
- aspx 将文件写入到txt
- installshield 的问题
- 我的.net网站换了服务器数据还原了下。。提交订单后就报错了
- c#中access数据库插入记录后如何获得自动编号?
- 编译错误CS1002应输入;
- asp.net 如何整合Discuz!NT 附赠100分
- 小问题:如果在aspx中的window.open()中的参数有<%# %>,应该怎么写才不报错误,才能进入设计状态??
- 系统提示错误The viewstate is invalid for this page and might be corrupted.
- 超时,池连接
- ////救命啊!我安装了win2003,visual studio.net2003之后,打不开原来的工程了.说是找不到路径.咋办啊?
- 续..一个小问题.
- 怎么让web系统支持GB18030编码
还有aaa是什么 input 的什么属性???