So just use capturing parens in your regexp and compare the number to 3. You don't have to do everything in a regexp.
if( /(\d+\.\d+\.(\d+)\.\d+)/ and $2 > 3 ) { print $1, "<br />\n"; }
In reply to Re: Question about conditional regex capture
by Fletch
in thread Question about conditional regex capture
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |