regexp(a,exp) related question.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
azizullah khan
am 21 Jul. 2014
Bearbeitet: Azzi Abdelmalek
am 21 Jul. 2014
a=<img src="images/flags/.gif" border=0 alt="">Country
want to get only Country using regexp and if any other function kindly mention it.
Country word will different for the next one.Use general statement .
thanks ....
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 21 Jul. 2014
Bearbeitet: Azzi Abdelmalek
am 21 Jul. 2014
a='<img src="images/flags/.gif" border=0 alt="">Country'
b=regexp(a,'(?<=>).+','match')
0 Kommentare
Weitere Antworten (1)
Robert Cumming
am 21 Jul. 2014
you could use strfind to find the end of the html string, then parse the end of the string to get the Country.
0 Kommentare
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!