> Hi All,
> I am trying to replace all commas with nothing from a string.
> var cText:String = "36,000,000";
> var regEx:RegExp = /,/g;
> cText = cText.replace(regEx,"");
> The result for cText is 36000,000.
> It is only replacing the first comma. Why the global (g) option is not
> Thanks !
> View this message in context: http://apache-flex-users.
> Sent from the Apache Flex Users mailing list archive at Nabble.com.