js正则匹配html中的img标签,然后将img标签插入到另外的div里。var html = 'fdsafds<img src=fdsaf>fdsafdsaf<img src=fdsaf>'var imgs = html.match(&2023-02-21JavaScript190