I've written a script (see here) to get all the URLs from within a template directory, however some of the hrefs contain two URLs to use depending on what language the app runs in.
So my script currently gives me a list of whatever is in href='here', but now I want to also collect the URLs from a href that looks like this;
href="{{ 'http://www.link.com/blah/page.htm'|cy:'http://www.link.com/welsh/blah/page.htm' }}"
What regular expression would I need to return those? (As with so many people, I'm awful at Regex!)