The perl regular expression works on the basis of meta characters which recognizes the patterns like digits, letters, special characters, so here we are using the dot which means any character including the special character * which means recognize the any character including the special character any number of times sbsas is the word with which you want to end the pattern () is group, to recognize a particular group pattern so here we have 3 groups s/ - substitution $2 - keep the second group -1 - recognize the pattern as it occurs 1 or more o- retain the pattern to all records i - ignore case
... View more