string-match-left-right

Match substrings on the left or right of a given index, ignoring whitespace

Browse on unpkg