Replace word regex in filter by name transformation

Hi,

I have the bellow panel where I need to filter out some of the series by a regex:

I am using regex /Time|BYTES_RX_THROUGHPUT/ to select series that I am interested in.

Is there a way to replace the maching ‘BYTES_RX_THROUGHPUT’ keyword with empty string?

This would help me only to match series for Time or series which contain BYTES_RX_THROUGHPUT and if they contain BYTES_RX_THROUGHPUT just remove the keyword to obtain only the IP.

Thanks,
Victor

Or is there a way to select only first word(in this case the IP) from the whole series name in the organize fields transformation as bellow

using a regex or some other way instead of a static rename?

Thanks a lot,
Victor