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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -