-
2 Comments
Harish Maradana
on 23 Aug 2014
regexprep(s1, '(\w*)ain', '')
not working pls help me
Diwakar
on 23 Jul 2018
Hi harish, so the if you see the regexprep documentation, it will tell you when you execute, it will remove every word which contains the letters ain in the expression. You can verify this on your system. To solve this, you need to look for a way to use regexprep such that it only looks for the letters in the end of the word.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!