updated instructions with regex