How would I create a reg ex that would find the line "File" in the scalar and copy the next line to a new scalar. In this case since "Hello" follows "File", I'd like to copy "Hello" to a new scalar. I know this may seem simple but I've been up all night programming and can't figure it out.$temp = "DATA\n File\n Hello\n";
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |