def get_filtered_values_by_selector(self, selector, regex=None, group=1):
        """Return the text content of @selector.

        Filter text content by @regex and @group.
        """
        data = [
            self.get_text_from_node(node, regex, group)
            for node in self.get_nodes_by_selector(selector)
            if self.get_text_from_node(node, regex, group)
        ]

        return data if len(data) > 1 else data[0]