extract number from string X=0

    Jul 20 2011 | 2:03 pm
    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

    • Jul 21 2011 | 12:25 am
      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: