add getFirstMatchText utility
add formatDurationFrom utility