Replace foreach match regular expression...

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.
 
M

mikeb

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top