Extract numbers of varying lengths from a string into different columns
I have a column named Duration with values which represent number of days,hours, min and sec. The last m denotes seconds.So the typical format would be : (0-365)d(0-24)h(0-60)m(0-60)mHere are some examples.:0d 15h 47m 43m10d 10h 21m 54m0d 04h 07m 32m268d 06h 02m 33m I need to extract the number of days, Hours,minutes, and sec in different columns so that I can perform calculations on it.I tried t...