convert RegexBannerState detail to array