Modify Linux regex

+ Cleanup unnecessary blank lines