Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > General > Subtitles
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 22nd October 2012, 20:43   #1  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 329
How to remove brackets in subtitle text with regular expressions?

I am using a program called "Subtitle Edit" which has an option to enter regular expressions.

I have a srt subtitle file, and I need to remove brackets and all the content inside brackets, for example [Andrew]...

What regular expressions commands do I need to enter to accomplish this?


orion44 is offline   Reply With Quote
Old 22nd October 2012, 20:55   #2  |  Link
Nikse555
Registered User
 
Join Date: Feb 2004
Location: Mars
Posts: 440
"\[.+\]" should work (without quotes, also you can right click in the textbox for regex help)

But you might want the more advanced tool in "Tools" -> "Remove text for hearing impaired"
Nikse555 is offline   Reply With Quote
Old 22nd October 2012, 21:03   #3  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 329
Thank you, Nikse.
orion44 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.