به نام خدا سلام بر برنامه نویسان عزیز 😉 در این مطلب کد replace (جایگزینی) رشته با Regex در سی شارپ #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
خروجی کد به این صورت می باشد :
Input given --> xxx.xxx.xxx.xxx
کد replace (جایگزینی) رشته با Regex در سی شارپ #C :
using System;
using System.Text.RegularExpressions;
public class MainClass
{
static void Main( string[] args ) {
// Create regex to search for IP address pattern.
using System.Text.RegularExpressions;
public class MainClass
{
static void Main( string[] args ) {
// Create regex to search for IP address pattern.