필터 지우기
필터 지우기

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