The data is as in the form below. I am trying to extract the hour(h), and minute(m) from the text to calculate the total duration in google sheets. ex 3h 24m equals 3.4 I am not able to extract the minute part incorrectly.
I have tried the below functions which work well for the hour part but fail for the minute part.
=LEFT(c1, SEARCH("h",c1)-1)
=IFERROR((REGEXEXTRACT(D1,"([[:print:]]+)h")),0)
C D
4h 2h 49m
32m 19s 2h 2m
6h 7m 3h 24m