G
Gawelek
Lat say, we have such a string : "Ala ma kota"
Is is possible to express using Regular Expresion, that I want to get
word "kot", that lies behind word "ma" ?
BUT, it is the most important thing, in "matches" I want to get only
word "kot".
Example :
String s = "Ala ma kota";
Regex r = new Regex("match_but_not_include_word_ma\\skota");
MatchesCollection matches = r.Matches(s);
matches[0].ToString() should give ONLY " kota"
I hope it's clear![Wink ;) ;)](/styles/default/custom/smilies/wink.gif)
Gawel
Is is possible to express using Regular Expresion, that I want to get
word "kot", that lies behind word "ma" ?
BUT, it is the most important thing, in "matches" I want to get only
word "kot".
Example :
String s = "Ala ma kota";
Regex r = new Regex("match_but_not_include_word_ma\\skota");
MatchesCollection matches = r.Matches(s);
matches[0].ToString() should give ONLY " kota"
I hope it's clear
![Wink ;) ;)](/styles/default/custom/smilies/wink.gif)
Gawel