User: sam -- 2013-03-14 << 1063 1065 >> |
Hits: 3581 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How to add in different sentences base on the different interface |
Input Sample: |
interface GigabitEthernet interface FastEthernet interface vlan interface GigabitEthernet |
Output Sample: |
interface GigabitEthernet aaa bbb interface FastEthernet ccc interface vlan ddd interface FastEthernet ccc |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
This is a task of search&replace with multiple rules. 1. open "Tools->Batch Runner" menu 2. drag one or multiple text file from windows file browser to "batch runner" window 3. click "fast replace" button 4. click "add" to add new rules: * set "search" to: * set "replace" to: * click "ok" 5. repeat step 4, until all other rules have been added. 6. make sure "reg exp" are checked. 7. click "start", done. |
Screenshot 1: Fast_Replace_Window |