hi I have a question:
I am trying to write a regular expression where I am matching every word/sign across new line characters, so I need an expression which combined .* and \n\s but all combinations I tried so far did not work. Help would be very appreciated.
$/=">"; while(<F>) { if ($_=~/\<word1\>(.*)\<word2\>/) { $g=$1; } close(F);
In reply to regular expression by cburger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |