REGEX-Escape for: .GenerateEvents(It.IsAny<Shipment>(), It.IsAny<Shipment>(), It.IsAny<int>(), It.IsAny<Milestone>()

Your Input:
Result, the escaped string:
\.GenerateEvents\(It\.IsAny\\(\), It\.IsAny\\(\), It\.IsAny\\(\), It\.IsAny\\(\)

What must the escaping look like for:
.GenerateEvents(It.IsAny<Shipment>(), It.IsAny<Shipment>(), It.IsAny<int>(), It.IsAny<Milestone>()

The excaped text for use in a regex is:
\.GenerateEvents\(It\.IsAny\<Shipment\>\(\), It\.IsAny\<Shipment\>\(\), It\.IsAny\<int\>\(\), It\.IsAny\<Milestone\>\(\)


Ads