code: def get_filtered_values_by_selector(self, selector, regex=None, group=1):
          
          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]
docs: Return the text content of @selector.
  
          Filter text content by @regex and @group.