![](https://csdnimg.cn/release/download_crawler_static/86524534/bg2.jpg)
Functions marked with * is not available in the Lite version.
Page 2 of 161
PilotEdit User Manual
Version: 12.7.0
Table of Contents
1. Introduction ...................................................................................................................................................................... 6
1.1. What is PilotEdit? ................................................................................................................................................................ 6
1.2. PilotEdit GUI ........................................................................................................................................................................... 9
1.2.1. PilotEdit Window ................................................................................................................................................................. 9
1.2.2. Edit Huge Files ................................................................................................................................................................... 15
1.2.3. Compare Huge Files ....................................................................................................................................................... 16
2. Install PilotEdit ............................................................................................................................................................... 17
2.1. System Requirements .................................................................................................................................................. 17
2.2. Install PilotEdit .................................................................................................................................................................. 18
2.3. Input Serial Number * ................................................................................................................................................. 18
2.4. Uninstall PilotEdit ............................................................................................................................................................. 18
2.5. Upgrade PilotEdit ............................................................................................................................................................. 18
3. Quick Start ...................................................................................................................................................................... 20
3.1. How to Edit Huge Files * ............................................................................................................................................ 20
3.2. How to Compare and Merge Two Files *......................................................................................................... 21
3.3. How to Encrypt and Decrypt Multiple Files and Directories * .......................................................... 22
3.4. How to Open and Edit Encrypted Files * ......................................................................................................... 23
3.5. How to Sort or Find/Remove Duplicate Lines * ......................................................................................... 25
3.6. How to Replace Multiple Strings Automatically *...................................................................................... 26
4. PilotEdit Functions ....................................................................................................................................................... 28
4.1. File ............................................................................................................................................................................................. 28
4.1.1. New File .................................................................................................................................................................................. 28
4.1.2. Open Files ............................................................................................................................................................................. 28
4.1.3. Open FTP Files ................................................................................................................................................................... 28
4.1.4. Save File ................................................................................................................................................................................ 31
4.1.5. Save All .................................................................................................................................................................................. 31
4.1.6. Save As................................................................................................................................................................................... 31
4.1.7. Save As with Old Directory Structure ............................................................................................................... 31
4.1.8. Save As FTP File ............................................................................................................................................................... 33
4.1.9. Print .......................................................................................................................................................................................... 33
4.1.10. Print Preview .............................................................................................................................................................. 33
4.1.11. Print Setup .................................................................................................................................................................. 33
4.1.12. Print Page Setup ...................................................................................................................................................... 33
4.1.13. Close File ...................................................................................................................................................................... 33
4.1.14. Close All Files ............................................................................................................................................................. 34
4.1.15. Clean Recent File List ........................................................................................................................................... 34
4.2. Edit ............................................................................................................................................................................................ 35
4.2.1. Select Line ............................................................................................................................................................................ 35
![](https://csdnimg.cn/release/download_crawler_static/86524534/bg3.jpg)
Functions marked with * is not available in the Lite version.
Page 3 of 161
PilotEdit User Manual
Version: 12.7.0
4.2.2. Select All ................................................................................................................................................................................ 35
4.2.3. Select Text Between Start Tag and End Tag * ........................................................................................... 35
4.2.4. Undo ......................................................................................................................................................................................... 35
4.2.5. Redo.......................................................................................................................................................................................... 35
4.2.6. Cut ............................................................................................................................................................................................. 36
4.2.7. Copy.......................................................................................................................................................................................... 36
4.2.8. Copy Hexadecimal Encoding .................................................................................................................................... 36
4.2.9. Copy File Name ................................................................................................................................................................. 36
4.2.10. Copy File Path ........................................................................................................................................................... 37
4.2.11. Paste ................................................................................................................................................................................ 37
4.2.12. Paste Hexadecimal Encoding .......................................................................................................................... 37
4.2.13. Column Mode ............................................................................................................................................................. 38
4.2.14. Word Wrap .................................................................................................................................................................. 40
4.2.15. HEX Mode ..................................................................................................................................................................... 40
4.2.16. Tabs and Spaces ..................................................................................................................................................... 40
4.2.17. Change Case .............................................................................................................................................................. 40
4.2.18. Indent ............................................................................................................................................................................. 41
4.2.19. Insert............................................................................................................................................................................... 41
4.2.20. Word ................................................................................................................................................................................ 43
4.2.21. Line ................................................................................................................................................................................... 44
4.2.22. Don't Check File Update ..................................................................................................................................... 44
4.2.23. Change File Encoding ........................................................................................................................................... 44
4.2.24. Execute Scripts * .................................................................................................................................................... 46
4.2.25. Sort and Find/Remove Duplicated Lines * ............................................................................................ 47
4.2.26. Extract Strings * ..................................................................................................................................................... 50
4.2.27. Format Selection * ................................................................................................................................................ 51
4.3. Search ..................................................................................................................................................................................... 53
4.3.1. Find… ........................................................................................................................................................................................ 53
4.3.2. Find Previous ...................................................................................................................................................................... 55
4.3.3. Find Next ............................................................................................................................................................................... 55
4.3.4. Replace… ............................................................................................................................................................................... 55
4.3.5. Find In Multiple Directories And Files ................................................................................................................ 58
4.3.6. Replace in Multiple Directories and Files ......................................................................................................... 59
4.3.7. Go To… .................................................................................................................................................................................... 60
4.4. View .......................................................................................................................................................................................... 61
4.4.1. Toolbar .................................................................................................................................................................................... 61
4.4.2. Window ................................................................................................................................................................................... 61
4.4.3. Status Bar ............................................................................................................................................................................. 61
4.4.4. Mark as Code Block * ................................................................................................................................................... 61
![](https://csdnimg.cn/release/download_crawler_static/86524534/bg4.jpg)
Functions marked with * is not available in the Lite version.
Page 4 of 161
PilotEdit User Manual
Version: 12.7.0
4.4.5. Expand All * ........................................................................................................................................................................ 63
4.4.6. Collapse All * ...................................................................................................................................................................... 63
4.4.7. Expand/Collapse... * ..................................................................................................................................................... 63
4.5. Compare ................................................................................................................................................................................ 64
4.5.1. Compare and Merge Files… * .................................................................................................................................. 64
4.5.2. Compare Directories… .................................................................................................................................................. 69
4.6. Encryption * ........................................................................................................................................................................ 70
4.6.1. Open Encrypted Files… * ............................................................................................................................................ 70
4.6.2. Open Encrypted FTP Files… * .................................................................................................................................. 70
4.6.3. Save As Encrypted File… * ........................................................................................................................................ 71
4.6.4. Save As Non-Encrypted File… * ............................................................................................................................ 71
4.6.5. Save As Encrypted FTP File… * .............................................................................................................................. 72
4.6.6. Save As Non-encrypted FTP File… * ................................................................................................................... 72
4.6.7. Encrypt/Decrypt Local Files… * ............................................................................................................................. 72
4.7. Configure ............................................................................................................................................................................... 74
4.7.1. FTP Account… ..................................................................................................................................................................... 74
4.7.2. File Type… ............................................................................................................................................................................. 75
4.7.3. Set Font… .............................................................................................................................................................................. 80
4.7.4. Set Print Font… ................................................................................................................................................................. 81
4.7.5. Change Language … ...................................................................................................................................................... 81
4.7.6. Edit String Table… ........................................................................................................................................................... 83
4.7.7. Edit File Group/Bookmark…...................................................................................................................................... 90
4.7.8. Theme ..................................................................................................................................................................................... 92
4.7.9. Customize… ......................................................................................................................................................................... 97
4.7.10. Options… ....................................................................................................................................................................... 97
4.7.11. Export/Import Configurations... ................................................................................................................. 107
5. Regular Expression and PilotEdit Script .......................................................................................................... 108
5.1. Create Regular Expression with GUI ................................................................................................................ 108
5.2. Parse Expression with GUI ...................................................................................................................................... 118
5.3. Search Expression ........................................................................................................................................................ 119
5.3.1. Constant String Segment ........................................................................................................................................ 119
5.3.2. Character List Segment ............................................................................................................................................ 119
5.3.3. Multiple Case-sensitive Strings Segment ..................................................................................................... 121
5.3.4. Multiple Non-case-sensitive Strings Segment ........................................................................................... 122
5.4. Special Characters and Escape Characters for Regular Expression ........................................... 124
5.5. Search Regular Expression Examples ............................................................................................................. 126
5.5.1. Find a Line with Two Words in It ........................................................................................................................ 126
5.5.2. Find a Line with Two Words in It and One Character between these Two Words ........... 127
5.5.3. Find a Line Start with One Word ........................................................................................................................ 127
![](https://csdnimg.cn/release/download_crawler_static/86524534/bg5.jpg)
Functions marked with * is not available in the Lite version.
Page 5 of 161
PilotEdit User Manual
Version: 12.7.0
5.5.4. Find a Line Start with One Word and End with Another Word....................................................... 128
5.5.5. Search Expression for Multi-line Text ............................................................................................................. 129
5.5.6. Search Expression for Multiple Case-sensitive Strings ....................................................................... 130
5.5.7. Find the last word that is not in the double quotation mark .......................................................... 131
5.5.8. Find the "int" or "long" Variable Definition in C++ or java .............................................................. 133
5.5.9. Find non-ASCII Characters in the File ............................................................................................................ 134
5.6. Replace Expression ...................................................................................................................................................... 135
5.7. Replace Regular Expression Examples ........................................................................................................... 137
5.7.1. Change the Position of Two Words ................................................................................................................... 137
5.7.2. Replace one Character ............................................................................................................................................... 138
5.7.3. Remove a Line together with CR LF ................................................................................................................. 139
5.7.4. Change Multiple Case-sensitive Strings into One Word ..................................................................... 140
5.7.5. Insert a Special Character after the Second Character of the Last Word .............................. 141
5.7.6. Change One Line into two Lines by Adding CR LF .................................................................................. 143
5.7.7. Replace Expression for Multi-line Text ........................................................................................................... 144
5.8. PilotEdit Script * ............................................................................................................................................................. 146
5.8.1. Find regular expression * ........................................................................................................................................ 146
5.8.2. String operations *....................................................................................................................................................... 146
5.8.3. Replace expression * .................................................................................................................................................. 147
5.8.4. PilotEdit Script Examples * ..................................................................................................................................... 148
5.9. Advanced Examples with PilotEdit Regular Expressions .................................................................... 150
5.9.1. Sort over Regular Expression * ........................................................................................................................... 150
5.9.2. Extract Strings in the Double Quotation Marks and Copy Them to the Clipboard * ...... 151
5.9.3. Extract Email Addresses and Copy Them to the Clipboard * ......................................................... 153
5.9.4. Extract Multiline Strings with Regular Expression * ............................................................................. 154
5.9.5. Find or Remove Duplicate Multiline Strings * ............................................................................................ 155
6. FAQ ................................................................................................................................................................................... 156
6.1. Where does PilotEdit save configuration files and temporary files? .......................................... 156
6.2. How to recover the lost data? .............................................................................................................................. 156
6.3. How to get PilotEdit’s support? ............................................................................................................................ 156
7. Acknowledgments .......................................................................................................................................................157
8. Appendix ........................................................................................................................................................................ 158
8.1. PilotEdit Revision History ......................................................................................................................................... 158
评论0