I have been trying to make a Reg Exp to match the URL with specific domain name.
So if i want to check if this url is from example.com what reg exp should be the bes
As you you pointed you only need example.com (write domain then escaped period then com), so use it in regex.
Example
UPDATED
See the answer below