- regexp('dcda4adcqq', '(.{2,}).?(??@fliplr($1))', 'match', 'once');
- regexp('dcda4adcqq', '(.{2,}).?(??@fliplr($1))', 'match'); disp(ans);
- result = regexp('dcda4adcqq', '(.{2,}).?(??@fliplr($1))', 'match'); result{1}
- celldisp(regexp('dcda4adcqq', '(.{2,}).?(??@fliplr($1))', 'match'))
How to omit the type line in a regexp result
2 views (last 30 days)
Show older comments
This is my Matlab command for match those string.
As we see,there is a type mark line between * ans=* and my result line,which will take up my extra line.How to omit it?
0 Comments
Accepted Answer
Walter Roberson
on 8 Jul 2017
Some possible ways:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!