Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Using regexp to identify matches
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!