Convert the first letter of the lyric sentence to uppercase by utilizing the WPS form conversion

Source: Internet
Author: User

Download a lot of English songs from the Internet lyrics (LRC format), found that many of the lyrics of all the letters are lowercase, especially the first letter of the sentence is not capitalized, although not serious, but for the pursuit of perfection I, is also a big regret. Through a search, found in the WPS text of the "table conversion" function with the "Find replace" function and "change case" can be one-time to all the first letter of the sentence to uppercase.

First, open the lyrics file with WPS text (or open it with Notepad, then copy and paste it into a blank WPS text), and you can see the information shown in Figure 1. By observing, all the time information is found to be enclosed by a pair of brackets ([]). That is, there is a right middle bracket (]) between the time information and the lyrics, but because some lyrics are repeated, there may be more than one time tag for the lyrics, so as long as you exclude duplicate time labels, You can separate the time label from the lyrics.

Figure 1

Press the Ctrl+h key, bring up the Find and Replace dialog box, type "[" In "Find", enter a special symbol (such as "¥¥¥¥" in "Replace with"), and click "Replace All" to mark the recurring time label first. Then, bring up the Find and Replace dialog box again, enter "]" in "Find", enter "]^t" in "Replace with" ("^t" stands for "tab", see Figure 3), and click "Replace All" so that the lyrics section and time label are separated by a tab. Then, replace all special characters (¥¥¥¥) back to "["] again.

Figure 2

Figure 3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.