خانه » Regular Expression

Regular Expression

حذف خط های حاوی یک عبارت خاص Remove lines containing Regular Expressions

حذف خط های حاوی یک عبارت خاص Remove lines containing Regular Expressions

امتیاز دهی به این نوشته This is also possible with Notepad++ Go to the search menu Ctrl+F and open the "Mark" tab. Check "Bookmark line" (if there is no "Mark" tab update to the current version). Enter your search term and click "Mark All" All lines containing the search term are bookmarked. Now go to the Menu "Search -> Bookmark …

ادامه نوشته »

Remove empty lines in Netbeans 7.x , NotePad++ &.. with Regular Expression

Regular Expression regex regx

امتیاز دهی به این نوشته You can do this with a regular expression + and a replacement. Do this in an editor window or in the project (or files) directory tree: Ctrl + H Check “Regular Expression” Search for \n\n Replace with \n Click “Replace all” until all lines are deleted If you want to keep a blank line you should: Search for \n\n\n Replace with \n\n If you …

ادامه نوشته »