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

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -