Pregunta de entrevista de MathWorks

String manipulation question in which a string containing one or more * was given as input and I have to develop an algorithm for removing the * character and a character succeeding and preceding the * character