REGEX-Escape for: <SubtypeId>Iron</SubtypeId> </Id> <DisplayName>Carbon</DisplayName>

Your Input:
Result, the escaped string:
\Iron\<\/SubtypeId\> \<\/Id\> \Carbon\<\/DisplayName\>


Ads

What must the escaping look like for:
<SubtypeId>Iron</SubtypeId> </Id> <DisplayName>Carbon</DisplayName>

The excaped text for use in a regex is:

\<SubtypeId\>Iron\<\/SubtypeId\> \<\/Id\> \<DisplayName\>Carbon\<\/DisplayName\>


Ads