User: donovan -- 2014-01-10 << 1165 1167 >> |
Hits: 3324 |
Type: Replace text in multiple files |
Search all Replace text in multiple files examples |
Description: |
How to add h2 tag for all sub-title lines in text file? |
Input Sample: |
Acai Berry Weight Loss Reviews Info When you are trying to lose weight, you can often find yourself looking for the quick fix and an instant solution. Tons of supplement manufacturers have been making millions off of people's need for a quick solution that requires no work. The problem is there are no quick solutions for weight loss. Acai Berry Weight Loss Supplements A lot of people have been clamoring about the new kid on the block. The Acai berry has been recently discovered. |
Output Sample: |
<h2>Acai Berry Weight Loss Reviews Info</h2> When you are trying to lose weight, you can often find yourself looking for the quick fix and an instant solution. Tons of supplement manufacturers have been making millions off of people's need for a quick solution that requires no work. The problem is there are no quick solutions for weight loss. <h2>Acai Berry Weight Loss Supplements</h2> A lot of people have been clamoring about the new kid on the block. The Acai berry has been ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
The solution is to add <h2> </h2> tag for all lines that shorter than 100 letters, and not ended with punctuation. 1. open "Tools->Batch Runner" menu 2. drag multiple text file to "Batch Runner" window 3. click "Fast Replace" button 4. click "Add" to add new rules: * set "search" to: * set "replace" to: * click "ok" * check option of "reg exp", uncheck the option of "cross line" 5. click "start", all files will be replaced. Note: * make backup in advance. * check "change output folder" after step 2, and set a new output folder, you can avoid original files being overwritten. * if you want to keep the very first line untouched, in step 4: * set "search" to: * set "replace" to: * click "ok" |
Screenshot 1: Fast_Replace_Window |