#!/bin/bash
s="WHITE-TAILED TROPIC-BIRD _Phaëthon lepturus_ (Hawaiian name—koae)"
str=$(sed -n 's/.*\(([^()]*)\).*/\1/p' <<< "$s");
echo "$str"