সি# . রেজেক্স
🌈সি# . রেজেক্স কি?
📋সি# . রেজেক্স হলো যেকোনো অক্ষর খুঁজে বের করার পদ্ধতি।
⚒️সি# . রেজেক্স যেকোনো অক্ষর খুঁজে বের করতে ব্যবহৃত হয়।
সি# . রেজেক্স যেকোনো অক্ষর খুঁজে বের করার উদাহরণ।
csharp
using System;
using System.Text.RegularExpressions;
namespace MyApplication {
class Program {
static void Main(string[] args) {
string text = "এওই@#123";
string pattern = ".";
foreach (Match match in Regex.Matches(text, pattern)) {
Console.WriteLine(match.Value);
}
}
}
}