This matches either a multidigit number or a single digit in 4..9. Note it could still be fooled by 01, etc, so check your input for that problem.if ( /.*(\d+\.\d+\.(\d\d+|[4-9])\.\d+).*/ ) { print "$1 <br> \n"; }
-Mark
In reply to Re: Question about conditional regex capture
by kvale
in thread Question about conditional regex capture
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |