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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -