- 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 ビュー (過去 30 日間)
古いコメントを表示
This is my Matlab command for match those string.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165877/image.png)
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 件のコメント
採用された回答
Walter Roberson
2017 年 7 月 8 日
Some possible ways:
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!