سلام 😉 در این مطلب از وب سایت پروگرم 98 آموزش Regex:تطبیق دادن کاراکتر uppercase با [A-Z] در سی شارپ را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد Regex:تطبیق دادن کاراکتر uppercase با [A-Z] در سی شارپ :
using System;
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = @"\b[A-Z]\w*\b";
string input = "this is a test";
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = @"\b[A-Z]\w*\b";
string input = "this is a test";