Lsit Processing : Delete Lines Matchin Regex Insensitive Match

kaboom

Client
Регистрация
23.01.2016
Сообщения
22
Благодарностей
6
Баллы
3
Hello,

I'm trying to find a way to delete lines that contain certain words in a list by using the delete lines matching regex function.

Since sometimes there are capital letters and sometimes not I'm looking for a way to specify to search for words in case insensitive mode.

Example

Dad
DAD
dad
...

I tested using /i but it doesn't work.

Does anyone have an idea?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Hi.
How about googling it? - "case insensitive mode regex c#" - The first result gives this
(?i)dad.*
 
  • Спасибо
Реакции: kaboom

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)