I am trying to search a string which is the list of groups a user belongs to in unix,
and replace the group vsifax or is its a middle or end of the string group the , before it with a null value or space whichever is easier
$gs =~ s/*,vsifax//;
but this returns an error when I try to run the script
$ usermove.pl > users.sh
Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE ,vsifax/
at usermove.pl line 13.
I can’t see what the issue would be I have read and re read over a few tutorials on regular expressions and its killing me
Try this, I don’t think * is needed in your regex