K
kids_pro
Hi there,
Is it possible to use RegEx.Replace to replace string like this.
string str = "The world heavy weight match";
I want to replace world = w and match = m
I can do that with 2 line of RegEx.Replace. I wonder is it possible to do it
with 1 RegEx.Replace?
The example above is simple my real situation is more word to replace I
don't want to store list of word to replace in the Hashtable and loop
through the hash to replace the string it kind of slow (is what I am doing
right now).
Please advice.
Regards,
kids
Is it possible to use RegEx.Replace to replace string like this.
string str = "The world heavy weight match";
I want to replace world = w and match = m
I can do that with 2 line of RegEx.Replace. I wonder is it possible to do it
with 1 RegEx.Replace?
The example above is simple my real situation is more word to replace I
don't want to store list of word to replace in the Hashtable and loop
through the hash to replace the string it kind of slow (is what I am doing
right now).
Please advice.
Regards,
kids