M
maverick1611
Hi,
I'm fairly new t oregular expressions. I am struggling with the
following problem.
I have a big text file that I want to parse for the following text:
<x:ConnectionString>sometextwithin</x:ConnectionString>
once found I want to replace it with
<x:ConnectionString></x:ConnectionString>
similarly I want to do it the reverse way too in another part of the
application .. so I would look for
<x:ConnectionString></x:ConnectionString> and replace it with
<x:ConnectionString>sometextwithin</x:ConnectionString>
where "sometextwithin" comes from a variable
I havent been able to find the correct regular expression for the
above.
Please help
Thanks,
I'm fairly new t oregular expressions. I am struggling with the
following problem.
I have a big text file that I want to parse for the following text:
<x:ConnectionString>sometextwithin</x:ConnectionString>
once found I want to replace it with
<x:ConnectionString></x:ConnectionString>
similarly I want to do it the reverse way too in another part of the
application .. so I would look for
<x:ConnectionString></x:ConnectionString> and replace it with
<x:ConnectionString>sometextwithin</x:ConnectionString>
where "sometextwithin" comes from a variable
I havent been able to find the correct regular expression for the
above.
Please help
Thanks,