title: Excel VBA - Regex.Escape Method
body: <p>I was looking for a VBA code that can escape the special characters in regular expressions.  VB has a <a href="https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.escape%28v=vs.110%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow noreferrer">Regex.Escape</a> method.  Is there an equivalent in VBA?</p>
  
  <p>Or is there a VBA code out there so I don't have to reinvent the wheel?  Thank you very much!</p>
  
  <p>Edit: I meant the "Microsoft VBScript Regular Expression 5.5" library doesn't have a Regex.Escape method.  Is there an equivalent code out there?</p>
  
  <p><a href="https://i.stack.imgur.com/mY5lz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mY5lz.jpg" alt="enter image description here"></a></p>