hai all i have a regex expression to select specific data from the email body
Choose new costcenter: BXv GR
Choose new costcenter: Project Cloud computings
The above are example types
in the mail body we will get the data like that with other unwanted stuff . i need to extract value
after the
Choose new costcenter:
and i was storing in a variable
the regex i was using is
Regex.Replace(Regex.Replace(System.Text.RegularExpressions.Regex.Match(item.body.ToString,“(?<=Choose new costcenter:)[\s\S]").ToString, "\n.”, “”).ToString,“\s”,“”).tostring
But it was taking the value after the Choose new costcenter: as BXvGR , ProjectCloudcomputings there is no space between as in the mail body can you suggest how to get space also that