I thought this would have done it…
$rowfetch = $DBS->{Row}->GetCharValue('meetdays'); $rowfetch = /[-]/gi; printline($rowfetch);
But it seems that I’m missing a small yet critical piece of the regex syntax.
$rowfetch is always something along the lines of:
------S -M-W--- --T-TF-
etc… to represent the days of the week a meeting happens
That’s what you need for your second line there. You’re just finding stuff, not actually changing it without the ‘s’ prefix.
You also need to use the regex operator ‘=~’ for this.