Extracting number from a text entry

I was hoping for a little help with this. I have a field that is being entered as a text field formatted mm:ss. I would like to extract the mm part of this as a number in another field and ss as a number in a third field. Is this possible?

Actually I am using the Input Formatter Plugin to enter the time. I need to make calculations on the time that is submitted and I really like the formatter automatically adding the colon between the minutes and seconds. But I need to pull the number out of that text field.

This topic was automatically closed after 70 days. New replies are no longer allowed.