matimagallanes 0 Posted December 13, 2017 Report Share Posted December 13, 2017 I can think of this: <a class="iusc" style="height:168px;width:172px" m="{"cid":"3JiZETkL","purl":"https://twitter.com/CARPoficial/","murl":"https://pbs.twimg.com/profile_images/875447997894729728/TrWLn4cS_400x400.jpg","turl":"http://tse4.mm.bing.net/th?id=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&pid=15.1","md5":"dc989911390bd863bbf9862d55f48cc3"}" mad="{"turl":"http://tse1.mm.bing.net/th?id=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&w=250&h=250&pid=1.1","maw":"250","mah":"250","mid":"FC7DC2A40C48A9913C28EAC2A19922C0E0D44681"}" href="/images/search?view=detailV2&ccid=3JiZETkL&id=FC7DC2A40C48A9913C28EAC2A19922C0E0D44681&thid=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&q=river+plate&simid=608044809857010399&selectedIndex=3" h="ID=images,5167.1" data-focevt="1"><div class="img_cont hoff"><img class="mimg" style="color: rgb(186, 17, 32);" height="168" width="172" src="http://tse1.mm.bing.net/th?id=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&w=172&h=168&c=7&qlt=90&o=4&pid=1.7" alt="Image result for river plate" data-bm="26"></div></a> <a class="iusc" style="height:168px;width:236px" m="{"cid":"l1ftiHbJ","purl":"http://mundocariverplate.blogspot.com/2010_05_01_archive.html","murl":"http://2.bp.blogspot.com/_vjhdZ-G80nI/S_2nsX2tj-I/AAAAAAAAAIU/Jjs5U_v84H4/s1600/river-plate.jpg","turl":"http://tse3.mm.bing.net/th?id=OIP.l1ftiHbJ_9tyZlLgqQuWfgHaFX&pid=15.1","md5":"9757ed8876c9ffdb726652e0a90b967e"}" mad="{"turl":"http://tse1.mm.bing.net/th?id=OIP.l1ftiHbJ_9tyZlLgqQuWfgHaFX&w=293&h=212&pid=1.1","maw":"293","mah":"212","mid":"814819D535CD715305A7A3E1D815765ADFB934BE"}" href="/images/search?view=detailV2&ccid=l1ftiHbJ&id=814819D535CD715305A7A3E1D815765ADFB934BE&thid=OIP.l1ftiHbJ_9tyZlLgqQuWfgHaFX&q=river+plate&simid=608022029370918042&selectedIndex=2" h="ID=images,5161.1" data-focevt="1"><div class="img_cont hoff"><img class="mimg" style="color: rgb(140, 23, 18);" height="168" width="236" src="http://tse1.mm.bing.net/th?id=OIP.l1ftiHbJ_9tyZlLgqQuWfgHaFX&w=236&h=168&c=7&qlt=90&o=4&pid=1.7" alt="Image result for river plate" data-bm="25"></div></a> Result https: // pbs.twimg.com/profile_images/875447997894729728/TrWLn4cS_400x400.jpghttp: // 2.bp.blogspot.com/_vjhdZ-G80nI/S_2nsX2tj-I/AAAAAAAAAIU/Jjs5U_v84H4/s1600/river-plate.jpg Start with: httpEnd with: jpg | gif | png But I do not know how I can do it I appreciate your help regards Quote Link to post Share on other sites
Pete 121 Posted December 13, 2017 Report Share Posted December 13, 2017 (((http://www)|(http://)|(https://www)|(https://)|(www))[-a-zA-Z0-9@:%_\+.~#?&//=]+)\.(jpg|jpeg|gif|png|bmp|tiff|tga|svg) should mach then with regex for you Quote Link to post Share on other sites
matimagallanes 0 Posted December 13, 2017 Author Report Share Posted December 13, 2017 (((http://www)|(http://)|(https://www)|(https://)|(www))[-a-zA-Z0-9@:%_\+.~#?&//=]+)\.(jpg|jpeg|gif|png|bmp|tiff|tga|svg) should mach then with regex for you Thank you very much, it works! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.