An alignment plugin using regular expression