回答編集履歴

1

調整

2018/08/02 07:19

投稿

yambejp
yambejp

スコア114883

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  $('img').attr('src',function(){
8
8
 
9
- return $(this).attr('src').replace(/(^https://XXXXXXX/file/img/pic_([6-9]|10))(.gif)$/,"$1_sp$3");
9
+ return $(this).attr('src').replace(/(^https://XXXXXXX/file/img/pic_(?:[6-9]|10))(.gif)$/,"$1_sp$2");
10
10
 
11
11
  });
12
12