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