i have url like this :
http://192.168.6.1/Images/Work3ererg.png
http://192.168.6.1/Images/WorwefewfewfefewfwekThumb.png
http://192.168.6.1/Images/ewfefewfewfewf23243.png
http://192.168.6.1/Images/freferfer455ggg.png
http://192.168.6.1/Images/regrgrger54654654.png
i would like to know http://192.168.6.1
from those url...how can i achieve this using jquery or javascript?
what am i trying to do it :
i got this string from my JavaScript : http://192.168.6.1/Images/Work3ererg.png
using this javscript string :
i want to put **https://192.168.6.1/**
instead of **http://localhost:37774**
including http
$("#" + id).css("background", "rgba(0, 0, 0, 0) url(http://localhost:37774/Images/PBexVerticalLine1.png) no-repeat scroll 0% 0% / auto padding-box border-box")
Thanks