 <p>No , your regular expression <code>^/flashmediaelement.swf$</code> specifies <strong>exact</strong> match for url , so it won't match <strong>'/mediaplayer/flashmediaelement.swf</strong></p> <p>See first section <a href="https://www.icewarp.com/support/online_help/203030104.htm" rel="nofollow">here for <strong>exact match</strong></a> regex</p>