asp.net - how to split the string in c# -


i want split string "this regarding problem of {pro} in {statement}"

i want output

this regarding problem of {pro} in {statement} 

you try this regex:

([^{]+|{[^}]*}) 

it matches each group of characters defined either:

  • a sequence of characters (at least one), none of {; or
  • a { character, followed number of characters not }, followed }

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -