regexp {<.*?'(.*?\.jpg).*?>} $htmlInput fullstringmatchvar exactmatchvar I tried messing around with it works fine. I still have a few questions. I want to get lets say a certain string that could be called www.abc.com/link.php?ref=123zxc or www.abc.com/link.php?ref=34zxz or www.abc.com/link.php?ref...