If url contains this folder + random archive
<p>I'm trying to do the next thing:</p>

<pre><code>if (document.referrer=="http://host.com/folder1/*.html"){
    alert('True');
}
</code></pre>

<p>So what I want to do is to show an alert if the script detects we are on folder1, no matter the archive. The * (asterisk) is to execute it no matter what name it has. But I really don't know how to do it, obviously the example above is not working.</p>

<p>Any ideas?</p>
