Linux - substring output command line

How can I substring links from the output on terminal

example:

head filename.txt

asdoi8*&,lkasd78*&jkdas,https://www.abcd.com/12sad3,askjdh*&6876
asdmas9*(,lkasd78*&jkdas,https://www.abcd.com/asd.dds31,osadyus87Y&*YH
sad98*&Y,lkasd78*&jkdas,https://www.abcd.com/asdd3.ss.dd,kjsahd8a7(^&,kjsahd*&asd
iuashdsaid&^,lkasd78*&jkdas,https://www.abcd.com/a212.asdasd.dd,ksjdahd87^*&^,aljskdh876*&^
sfdhus*&,lkasd78*&jkdas,https://www.abcd.com/ass2,ljfdhs*&686,ksjdh87,kjsadh87

Need to be like this:

https://www.abcd.com/12sad3
https://www.abcd.com/asd.dds31
https://www.abcd.com/asdd3.ss.dd
https://www.abcd.com/a212.asdasd.dd
https://www.abcd.com/ass2

I need just links from these outputs using grep, sed, awk..etc (not important what I use)

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum