%% Erase Punctuation from Text
% Erase the punctuation from the text in str.

str = "it's one and/or two.";
newStr = erasePunctuation(str)

%  To insert a space where the "/" symbol is, first use the replace function.

newStr = replace(str,"/"," ")
newStr = erasePunctuation(newStr)

% Copyright 2017 The MathWorks, Inc.