Trim extracted plugin version strings.