Regular expression trial and error