It is currently March 28th, 2024, 8:36 pm



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Replacements match case.
PostPosted: May 1st, 2020, 3:29 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
Hi,

Is there a way for replacements filters not to match case?

I have robust lists of words in lowercase.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements match case
PostPosted: May 1st, 2020, 3:53 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Hi,

use regex replacement.

Add at the start:
Code:
(?i)


And it will be case insensitive.

However make sure you're know how regex works since there are a lot of special characters which needs to be escaped if needed.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements match case.
PostPosted: May 1st, 2020, 5:00 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
First of all I'm glad that the solution exists.

Please help me spare some time by giving me an example.

Search for: "bangbros|realitykings|mofos"

(also searches for: "BangBros|RealityKings|Mofos")

Replace with: "nothing"


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements match case.
PostPosted: May 1st, 2020, 5:02 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?i)bangbros|realitykings|mofos


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements match case.
PostPosted: May 1st, 2020, 5:12 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
Thank you.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC