Search string pattern
Show older comments
I am a completely new to Matlab and have this question. How can I search in a larger string for repeating XYG pattern where G is consistent but X and Y could be anything from a to z. I also want to display as well as store the result as a separate array.
Any help would be greatly appreciated!
Abhishek
Answers (1)
Sean de Wolski
on 14 Mar 2012
doc strfind
doc regexp
doc regexprep
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!