I want to create an RTF reader, and I want to get the plain text part. But I can't "delete" the commands from the incoming string 's'...
var plain = s.replace(/\\.*(\\|\s|{){1}/g,"");
I want to create an RTF reader, and I want to get the plain text part. But I can't "delete" the commands from the incoming string 's'...
var plain = s.replace(/\\.*(\\|\s|{){1}/g,"");