c# - Regular Expression - Filter string have sequence of special character -
i have string below: $true$test 1$6359$$false$test 2$372707$
i want take 2 group of data (example: (true, test 1, 6359) , ...)
could me regular expression solve problem?
(sorry bad in english)
thanks in advance. can me, please? use c# language.
why want use regular expression? think, need simple .split():
string mystr="$true$test 1$6359$$false$test 2$372707$"; string[] splitres=mystr.split(new char[]{'$'}, stringsplitoptions.removeemptyentries);
Comments
Post a Comment