Introduction
Microsoft's home grown text editor is quite clearly rubbish. Notepad++ however is a great replacement. It allows for the use of regex which in the world of IT can be a massive time saver for repetitive tasks. I'll keep this post as a repository of useful examples which might save me searching stackoverflow again! ;-)
Examples
Find and remove an entire line beginning with the word 'switch':
.*switch.*\r?\n
Find the characters 'Po' followed by two consecutive numbers:
Po[0-9]{2}:
Leave a comment
Your email address will not be published. Comments are moderated before appearing.