Thanks for that. now I wanted to add a value at the end
<replaceregexp file="temptest.csv" match="(.);$" replace="\1<a value>"
byline="true" />
now if i put replace="\100" to add a '00' (reusing the result '\1'), it
doesn't work.
How can I declare that 00 ?
Roland.
-----Message d'origine-----
De : Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Envoye : lundi 23 septembre 2002 13:23
A : [EMAIL PROTECTED]
Objet : Re: Using ReplaceRegExp
On Mon, 23 Sep 2002, <[EMAIL PROTECTED]> wrote:
> I'm trying to use <replaceregexp> to process csv files to remove
> semi-colons at the end of each line.
Untested:
<replaceregexp file="temptest.csv" match=";$" replace=""
byline="true" />
If you want to reuse the result of a mtach like this one indicates
> <replaceregexp file="temptest.csv" match=".;$" replace="\1$"
> byline="true" />
you need to use parens like in
<replaceregexp file="temptest.csv" match="(.);$" replace="\1$"
byline="true" />
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>