athlon
发贴: 18
积分: 1
|
于 2005-09-28 20:52
有这样一个串 ('/images/top_menu01b.gif','/images/top_menu02b.gif','/images/top_menu03b.gif','/images/top_menu04b.gif','/images/top_menu05b.gif','/images/top_menu06b.gif','/images/top_menu07b.gif','/images/top_menu08b.gif','/images/top_menu09b.gif','/images/top_menu10b.gif','/images/top_menu11b.gif','/images/top_menu12b.gif','/images/top_menu13b.gif','/images/top_menu14b.gif','/images/index_img/l_more1b.gif','/images/index_img/l_more2b.gif','/images/index_img/m1more2.gif','/images/jinshu/r_more1b.gif','/images/jinshu/r_more3b.gif')" 现在需要在images前面加一个串,如:'/aaa/images/top_menu01b.gif'; 我想用正则表达试去实现替换,不知怎么实现?望高手帮忙解答一下,谢谢先。
why edited on 2005-09-28 22:02
|