c# - Split the string based on regular expression -


i've array of strings name, groups[0].id, types[11].name.

i want filter string has square brackets , split them 2 parts. ex., groups[0].id groups , id.

how can find strings has square brackets using regular expression?

you can try this

regex.split(input,@"\[.*?\][.]"); 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -