--- In [email protected], Matthew Ness <[EMAIL PROTECTED]> 
wrote:
>
> Amy, try:
> 
>       const caret:RegExp = /\^/g;
>       theText = theText.replace(caret, "your replacement");
> 

I think I tried that, and it wouldn't compile with the forward slash 
before the g.  However, I just split it and joined it, and that works 
with no fuss.

Thanks!

-Amy

Reply via email to