Page 1 of 1

Need delete after |

PostPosted: Sat Nov 13, 2021 9:42 pm
by Razyel95
Hello! I need help for delete original names and just leave the translated title. How I can remove the original title? and just leave the translated title? Hope someone can help me.

EX: Original Title #1 | Titulo Original #1.mkv
EX: Original Title #2 | Titulo Original #1.mkv
EX: Original Title #3 | Titulo Original #1.mkv

---------------------------------------------------------------------

EX: Título Original #1.mkv
EX: Título Original #1.mkv
EX: Título Original #1.mkv

NOTE: Both titles are separated by a " | "

Re: Need delete after |

PostPosted: Sun Nov 14, 2021 4:44 am
by Admin
RegEx (1)

Enable Simple

Match: %1 | %2
Replace: %2

Re: Need delete after |

PostPosted: Sat Jan 15, 2022 2:36 am
by raywood
I think this is my question too, but I'm not sure I understand the answer. I haven't used RegEx before.

I've got a filename like this:

Email to X (http angelfire.com.eml

I want to keep just this:

Email to X.eml

So I try entering this in the RegEx boxes:

Match: %1 ( %2
Replace: %1

But (a) it doesn't do anything and (b) I'm not sure how to "Enable Simple."

Great tool, BTW.

Delete the first " (" and everything after

PostPosted: Sat Jan 15, 2022 3:52 am
by Luuk
Inside of RegEx(1) first to put a checkmark inside for "Simple", but also there should not be any space coming after the bracket.