This tutorial presents a regular expression to remove comments from the FASM source code.
You can use regular expressions in the Find and Replace dialogs by selecting the Use regular expressions check box.
In the next image is the right way to remove comments FASM.
The picture below is presented an incorrect version.
This expression will remove source code line of code with ;
I hope this tutorial helped you.