You can apply regex on each line of a file, you can add some conditions, make it interactif or not.