glock Posted February 23, 2009 at 12:10 PM Report Share Posted February 23, 2009 at 12:10 PM (edited) 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 February 23, 2009 at 12:21 PM by roddy Quote Link to comment Share on other sites More sharing options...
roddy Posted February 23, 2009 at 12:20 PM Report Share Posted February 23, 2009 at 12:20 PM 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 '' Quote Link to comment Share on other sites More sharing options...
glock Posted February 23, 2009 at 12:27 PM Author Report Share Posted February 23, 2009 at 12:27 PM thanks thats gonna be my last solution Now I found the stuff but unfortunately link is dead. edit not:btw I use windows. Quote Link to comment Share on other sites More sharing options...
roddy Posted February 23, 2009 at 12:35 PM Report Share Posted February 23, 2009 at 12:35 PM 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. Quote Link to comment Share on other sites More sharing options...
glock Posted February 23, 2009 at 12:47 PM Author Report Share Posted February 23, 2009 at 12:47 PM Thanks Roddy, that was what I was looking for..I am using chinese office too though Quote Link to comment Share on other sites More sharing options...
glock Posted February 23, 2009 at 03:32 PM Author Report Share Posted February 23, 2009 at 03:32 PM Now there are only extra lines that I couldn't still figure out how to eliminate. Any ideas? It's 现在的人都挺现实的呀 我妈我周围的朋友 I want to change it into 现在的人都挺现实的呀 我妈我周围的朋友 Quote Link to comment Share on other sites More sharing options...
roddy Posted February 23, 2009 at 03:39 PM Report Share Posted February 23, 2009 at 03:39 PM See my first post - isn't that working? I edited it in, you might not have seen it first time. 1 Quote Link to comment Share on other sites More sharing options...
glock Posted February 23, 2009 at 03:40 PM Author Report Share Posted February 23, 2009 at 03:40 PM I got it:mrgreen: We write ^p,which means paragraph mark, in the blank of replace as many as we need than we write ^p in the 替换为 blank once, than its OK thank God! Edit: I have just seen your edit Roddy, thanks a lot Quote Link to comment Share on other sites More sharing options...
roddy Posted February 23, 2009 at 03:41 PM Report Share Posted February 23, 2009 at 03:41 PM Oh, and if you've found some subtitle files, post here - lots of people want them. Quote Link to comment Share on other sites More sharing options...
ChouDoufu Posted February 24, 2009 at 05:28 AM Report Share Posted February 24, 2009 at 05:28 AM 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.