Your initial case description is not clear due the code snippet is incomplete.
It looks like you are dealing with XML which is defining namespaces. In such a case we would suggest to handle it properly with XML relatied options and not with Regex
Your initial case description is not clear due the code snippet is incomplete.
It looks like you are dealing with XML which is defining namespaces. In such a case we would suggest to handle it properly with XML relatied options and not with Regex