Extracts a string from between a pair of delimiters. Only the first instance is found.