extract number from string X=0
Max Patch
Copy patch and select New From Clipboard in Max.
hi! i found the solution here https://cycling74.com/forums/extract-a-number-from-a-message but it isnt working for minus values..
thanks for any help :)
adam
Max Patch
Copy patch and select New From Clipboard in Max.
Pop a -? into your [regexp] and it will find the minus sign if it exists and carry on working regardless if it doesn't. There's a regexp tutorial on my webpage which I hope you find helpful, if you click on my name next to this post it will point you there. Here's a little example patch: