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
Post a Comment