Subject: RE: Help me out on Removing the blankspaces from a textarea
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 20 Oct 2004 10:22:07 +0300
|
Hi,
> I have to replace the "@@@" with a new '\ln' in the document
> which is dynamic.
>
> I guess translate does not work
> --------------------------------------------------------------
> ------------------------
> function replaceString() {
> regX = new RegExp("\@@@","g") ;
>
> document.form1.TextArea.value=document.form1.TextArea.value.re
> place(regX,"\n");
> --------------------------------------------------------------
> ------------------------
Is your question how to replace strings with ECMAScript? You should probably
then post to some other list, as this is an XSL/XSLT/XPath list.
Cheers,
Jarno - Chris C: Vengeance Is Mine
|