title: How to write a regex to match multiple file path
body: <p>I have want to match files located in multiple directories:</p>
  
  <p>The file path could be locally - <strong>C:/users/path/image.png</strong> or on a system - /<strong>/home/user/web/image.png</strong></p>
  
  <p>For the first case, I have regular expression -</p>
  
  <pre><code>[c|C]:[^.]+[.][A-Za-z]{3}
  </code></pre>
  
  <p>How can I have a single regex to match both of the cases?</p>