সম্পাদনা
using System; using System.Text.RegularExpressions; namespace MyApplication { class Program { static void Main(string[] args) { string text = "<b>হ্যালো</b><i>বিশ্ব</i>"; string pattern = "<.*?>"; foreach (Match match in Regex.Matches(text, pattern)) { Console.WriteLine(match.Value); } } } }
পূর্বরূপ