regex expressions

Bulk Rename Utility How-To's

regex expressions

Postby kracov » Mon Nov 18, 2024 1:21 pm

how do i create a "regex"? i need something that removes all characters like this:

free video 6Y youtube
free video 2L youtube

the whole line not just the 2 characters
kracov
 
Posts: 3
Joined: Sun Dec 25, 2022 10:05 pm

Re: expressions

Postby therube » Mon Nov 18, 2024 8:19 pm

1:RegEx, enable, v2
Code: Select all
Match:  free video .. youtube
Replace:  XXX testing XXX

.., will match any 2 characters
(Replace: is simply sample replacement text.)


Code: Select all
abc123 free video 6Y youtube 123abc
->   abc123 XXX testing XXX 123abc
abc123 free video AZ youtube 123abc
->   abc123 XXX testing XXX 123abc
therube
 
Posts: 1397
Joined: Mon Jan 18, 2016 6:23 pm

Re: regex expressions

Postby kracov » Tue Nov 19, 2024 10:44 pm

thanks. How do I remove all characters between these specific characters at the beginning and end?

, free video youtube online_1_1
, home remedies_1_1
kracov
 
Posts: 3
Joined: Sun Dec 25, 2022 10:05 pm


Return to How-To