RegEx in JQuery

RegEx in JQuery

Hi,

Is there a way i would be able to check the value of href in my anchor tags using regex?
I'm finding it hard to understand regex.. and i want to validate a certain url in this format?

All (*) are wildcards - any value can be placed on this *.

http(*)://*.mypage.com/*

and then if a certain href matches the format, i will set the target of the anchor tag to open on the same window.


thank you so much for the help in advance.. :)