フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Using regexp to identify matches

1 回表示 (過去 30 日間)
GEORGIOS BEKAS
GEORGIOS BEKAS 2018 年 1 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am trying to identify matches using the command regexp. I am trying to isolate either the first subset of a string (e.g. 4002), or expressions inside the parentheses.
s = '4002-247-8102, (2085) 141-1031, 317-535-4310'
splitStr = regexp(s,'[0-9]-\d';'([0-9])\d','match')

回答 (0 件)

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by