Jump to content
Chinese-Forums
  • Sign Up

Help with how to remove timing numbers from subtitles?


glock

Recommended Posts

I don't remember where I saw something like how to remove numbers etc from subtitles easily by only using Word. Does anybody know anything about that?

What I am trying to say is

366

20:16,880 20:19,440

不像有些人自我感觉特别良好

367

20:19,720 20:22,029

要不就写一大堆肉麻的话

change into

不像有些人自我感觉特别良好

要不就写一大堆肉麻的话

Edited by roddy
Link to comment
Share on other sites

Maybe not the most efficient way, but just do a few find and replaces

Find '1', replace with ''

...

Find '9', replace with ''

Find ':', replace with ''

Not sure if Word can handle the removal of line breaks, but something more sophisticated will be.

It can:

Find '^p^p' replace with ''

Link to comment
Share on other sites

Ok, in the find and replace box, click 'more' and select 'pattern matching' (not sure exactly what these are in English, I have a Chinese version.

Then find

([0-9])

and replace with nothing

That'll do them all at once. Got this from here, you can probably figure out how to also do the punctuation and line breaks at the same time.

Link to comment
Share on other sites

I don't think Word is the best tool to use.

I'd recommend a strong notepad replacement (I use notepad++). Notepad++ has a find/replace function that includes something called Regex (regular expressions).

You can use regex to do lots of cool stuff. In this case you would search for lines that started with numbers like this:

"^[0-9].*" <--- this means: the first character of the line must be a number. After the first character, the following characters can be anything.

Using notepad++, you would use the find option and select "Regular Expression" search mode and copy the above part without quotes. You would replace it with a blank space.

Hope this was helpful.

Link to comment
Share on other sites

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...