title: Get specified url part in policy with Azure APIM Policy
body: <p>Is it possible to, within policy, get the specified url part below:</p>
  
  <p><a href="https://i.stack.imgur.com/P6yro.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P6yro.png" alt=""></a></p>
  
  <pre><code>&lt;policies&gt;
          &lt;inbound&gt;
              &lt;base /&gt;    
          &lt;/inbound&gt;
          &lt;backend&gt;
              &lt;base /&gt;
          &lt;/backend&gt;
          &lt;outbound&gt;
              &lt;base /&gt;
              &lt;find-and-replace from="https://thirdparty/certs" 
                   to="@(specified url part)" /&gt;        
          &lt;/outbound&gt;
          &lt;on-error&gt;
              &lt;base /&gt;
          &lt;/on-error&gt;
      &lt;/policies&gt;
  </code></pre>
  
  <p>Please note that the whole url might include versioning and prefix.</p>