Remove specific lines/row on txt File

Hi,

Can you try the following? This removes lines which starts with “https://” or “(number) of (number) (date)”

System.Text.RegularExpressions.Regex.Replace(yourString,"(?<=^|\n)(https?://|\d+\s+of\s+\d+\s+\d+/\d+/\d+).*\n","")

Regards,

1 Like