Rename Column by Reg. Exp.

Author

Cox Lab

Published

March 18, 2024

1 General

2 Brief description

Rename expression columns with the help of matching part of the name by a regular expression.

3 Parameters

3.1 Regular expression

Specified regular expression that is applied to all column names to rename them (default: no string).

The general concept of regular expressions can be found under Regular_expression. If you already know generally how regular expressions work, you may only need to glance at a the Quick Reference or at an even quicker Cheat Sheet.

\

4 Parameter window

The regular expression shown in the screenshot was applied to columns with the name “column 1”, “column 2”, “column 3”, “column 4”, “column 5”…

Thus the new generated matrix contains columns named “1”, “2”, “3”, “4”, “5”…