parsing messages

kampana's icon

Hello,

I am trying to parse messages sent from Processing that contain numbers, dots, commas and backslashes. How can I filter all symbols except for the numbers?

Thanks
K

kampana's icon

When I connect the data I receive to a message object with a prepend set, it looks like this:

1\, 0\, 5\, 23\, 11\, 0

How can I get rid of the \'s and ,'s ?

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Maybe like this:

kampana's icon

thanks! i hate regexp!

Rick's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's a little different take.