Replace foreach match regular expression...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a class that finds the matches in a big string take in count a regular expression..

I would like to know how to replace, every time i find a match, this match by another string..

Any help will be gratefu

Thanks
Josema.
 
Josema said:
Hi,

I have a class that finds the matches in a big string take in count a regular expression...

I would like to know how to replace, every time i find a match, this match by another string...

Have you looked at the Regex.Replace() method?
 
Back
Top