var url = "https://www.sec.gov/cgi-bin/browse-edgar?CIK="+company+"&type="+filetype+"&owner=exclude&action=getcompany&Find=Search"; var result = UrlFetchApp.fetch(url).getContentText(); var regEx = new RegExp("\<a href=.(\/cgi-bin.+type=v)");
the above is what I have now. The regEx is getting the link I need; this is the item I would like more control over. I was thinking to pull out all rows and as text and match the date, or better yet have a condition to filter for where date is < or > a date provided as a parameter.