সি# U রেজেক্স
🌈সি# U রেজেক্স কি?
📋সি# U রেজেক্স হলো সর্বনিম্ন দৈর্ঘ্যের মিল খোঁজা পদ্ধতি।
⚒️সি# U রেজেক্স সর্বনিম্ন দৈর্ঘ্যের মিল খোঁজা ব্যবহৃত হয়।
সি# U রেজেক্স সর্বনিম্ন দৈর্ঘ্যের মিল খোঁজা উদাহরণ।
csharp
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);
}
}
}
}