This will not match "1 2 1", but this line contains the number "1" twice.#find lines that contain the same number twice ... if ($line =~ /(\d+)[^\d]*\1[^\d]/o)
In reply to Re: Regex negative number question
by zby
in thread Regex negative number question
by Lori713
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |