Using Regex Replace - multiple occurances

  • Thread starter Thread starter RSH
  • Start date Start date
R

RSH

Hi,

i have a situation where I have a string read from a file. The string
format looks like this

<HEADERROW> dynamic number of characters </HEADERROW>
dynamic number of rows
<HEADERROW> dynamic number of characters </HEADERROW>
dynamic number of rows
<HEADERROW> dynamic number of characters </HEADERROW>
dynamic number of rows
<HEADERROW> dynamic number of characters </HEADERROW>
dynamic number of rows

etc....

I need to keep the first "<HEADERROW> dynamic number of characters
</HEADERROW>"
but I want to remove every subsequent occurance of "<HEADERROW> dynamic
number of characters </HEADERROW>"
from the string.

What does the RegEx replace look like to do this?

Thanks alot for the help!
Ron
 
What does the RegEx replace look like to do this?
And what is the answer on your riddle. Or do you mean that you want this be
made by somebody withouth cost. That is not the meaning from this newsgroup.
You can be helped, so show first your first approach or hire a profesional
developer.

Cor
 

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

Back
Top