I have to parse a variable in the form of "1.|1=Site_Name=domain.tld=1" using regular expression as domain.tld will change and might also contain numbers like 1domain.tld.
I have to get the domain.tld name only.
I am trying to test the following code but it give me a null value.
var test = /([0-9a-z]+\.[a-z]+/i.exec("1.|1=Site_Name=domain.tld);
Appreciate if any one can help.