Question d’entretien chez Slice

String regex pattern to replace the strings in particular pattern