ethar turky
asked on
use regular expression to change text
Dear all,
using c# can I change all database rows contains this:
I prefer to use regular expression.
( I just need the regular expression  implementation or even MS SQL SP)
Thanks,
using c# can I change all database rows contains this:
<meaning>xxxxx</meaning>TO
<meaning text="xxxxx" TextAR=""/>
I prefer to use regular expression.
( I just need the regular expression  implementation or even MS SQL SP)
Thanks,
ASKER
Thanks for your reply,
I am using c# VS 2013
I am using c# VS 2013
So the replacement is taking place via C# code, using the Regex class?
ASKER
yes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much
In any event, the pattern to match would be:
Open in new window
...and the replacement would be:
Open in new window
...assuming the utility that you are using to execute the replacement supports $n syntax. You might need to exchange "$1" for "\1" instead:
i.e.
Open in new window