Forums > MaxMSP

Extract numbers from words and numbers

August 8, 2011 | 12:05 pm

i would like to extract numbers like in the patch:

– Pasted Max Patch, click to expand. –

any ideas ?

thx


August 8, 2011 | 9:45 pm

Try the [regexp] expression in the example below, it should chop the non-numeric characters after the first slash, then any integers following straight after and finally the other integers after an underscore before the final slash and output them as a list.

– Pasted Max Patch, click to expand. –

August 8, 2011 | 10:45 pm

woaooo it’s exactly what i needed.
I need to read your tutorial.
Thanks a lot. really.


Viewing 3 posts - 1 through 3 (of 3 total)