title: Regular expression to find files that begin with, contain or end with series of chars
body: <p>Firstly, the answer must be using REGEX, do not suggest string manipulation using .NET or Java etc...</p>
  
  <p>I need to find if a full file name, excluding path, contains a series of chars.</p>
  
  <p>I am able to search the file name but can't get past the directories and subdirectories.</p>
  
  <p>So ie:</p>
  
  <p>A pattern of he.+.txt would match c:\temp\help.txt but also matches c:\hemp\felp.txt, I am trying to avoid the later.</p>
  
  <p>I am able extract to file name from the directory by using expression [^\]+$ but not familiar enough with regex to accomplish what I want with a single expression. I began looking into grouping too.</p>