REGEX-Escape for: 5586 Microsoft-SharePoint_Products-SharePoint_Foundation

Your Input:
Result, the escaped string:
5586 Microsoft\-SharePoint_Products\-SharePoint_Foundation

What must the escaping look like for:
5586 Microsoft-SharePoint_Products-SharePoint_Foundation

The excaped text for use in a regex is:
5586 Microsoft\-SharePoint_Products\-SharePoint_Foundation