Extract text

I have text that needs to be extracted however I want to combine 2 of my formulas

This is the helper column =(LEFT(JOB@row + " ", FIND(" ", JOB@row + " ") - 1))

=IFERROR((MID([STUDY HELP]@row, (1 + FIND("-", [STUDY HELP]@row)), 1000)), "")

The text looks something like this:

text-74272998 9 months to grow flowers

I am trying to extract just the numbers that varies in quantity of characters

Also the text can sometimes be text-7879.sp.

In which case I would like the result to be 7879.sp

Thanks

Answers