Answer the question
In order to leave comments, you need to log in
How to build a list rule in C#?
Hello. There is this code:
using System;
using System.Collections.Generic;
using System.Text;
using DynamicPluginData;
namespace DatacolDynamicPluginNS
{
public class DynamicPluginClass
{
public static List<string> processLinks(List<string> links, ItemInfo itemInfo, GlobalInfo globalInfo)
{
return links;
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using DynamicPluginData;
namespace DatacolDynamicPluginNS
{
public class DynamicPluginClass
{
public static List<string> processLinks(List<string> links, ItemInfo itemInfo, GlobalInfo globalInfo)
{
for(int i=0;i<links.Count;i++)
links[i] = Regex.Replace(links[i],"\\?p=[\\d]{1,}\\?p","?p");
return links;
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question