combine two regexprep into one
Mostrar comentarios más antiguos
Hi, I was wondering if I can reduce the two lines of code into one? Thank you
selected = regexprep(selected, ' ',' ');
selected = regexprep(selected, '<.*?>','');
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 3 de Jun. de 2013
1 voto
Why bother?
That works and is likely easier to understand!
1 comentario
Vincent I
el 3 de Jun. de 2013
Categorías
Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!