User-484744148 posted
Try this code.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string input = @"{ ""data"": {""translations"": [ { ""translatedText"": ""नमस्ते अतिथि..."" } ] } }";
Regex regex = new Regex(@"\""[^""]*\""");
Console.WriteLine(input);
Console.WriteLine("Extracted");
Console.WriteLine(regex.Matches(input)[3]);
Console.ReadLine();
}
}
}
Regards,
Sgt. 8log