rename, what is the proper way to replace the matched pattern with nothing? (I.e. to remove it.)Here is what I use currently:
Code: Select all
::rename r, '(#[^\.]+|@.+$) > ';
> (> and space) doesn't look very good.rename, what is the proper way to replace the matched pattern with nothing? (I.e. to remove it.)Code: Select all
::rename r, '(#[^\.]+|@.+$) > ';
> (> and space) doesn't look very good.RegExpRenameSep=> to something different. But my question is about the space, not >.Code: Select all
::rename r, '(#[^\.]+|@.+$) > ""';
RegExpRenameSep=">"::rename r, '(#[^\.]+|@.+$)>';