regex - C# split after "{" and before comma -


How to split after the first bracket and before commas {Brazil, 340, Argentina, 39} <

  String: {England, 120, USA, 30, 40} {Spain, 23, India, 45, 23} East 

I get England, Spain and Argentina from a different ceremony Want to

Any ideas how to write the regex method or alternative methods?

This is probably easier to use matching

  foreach ( Match omeach in regex match (string, @ "\ {([^,] *)") console. Light (omac group [1]. Value)  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -