cloudfx Posted August 13, 2012 Share Posted August 13, 2012 expression to get only integer from group? piece1 -> 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted August 13, 2012 Share Posted August 13, 2012 expression to get only integer from group? piece1 -> 1 Have you tried opdigits? opdigits("stringWithNumberSuffix45") -> 45 Quote Link to comment Share on other sites More sharing options...
cloudfx Posted August 13, 2012 Author Share Posted August 13, 2012 Have you tried opdigits? opdigits("stringWithNumberSuffix45") -> 45 Yes, but isnt opdigits for op name not group name? Quote Link to comment Share on other sites More sharing options...
magneto Posted August 13, 2012 Share Posted August 13, 2012 Yes, but isnt opdigits for op name not group name? AFAIK it works for any string. 1 Quote Link to comment Share on other sites More sharing options...
cloudfx Posted August 13, 2012 Author Share Posted August 13, 2012 AFAIK it works for any string. GREAT!! thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.