http://www.perlmonks.org?node_id=1015128


in reply to Avoid a single value in the url

Please tell how to modify the above regex.

No thanks, see perlrequick if you're interested

if( isBlahGallery( $url ) ){ die "failed it"; } sub isBlahGallery { $_[0] =~ m{\.com/gallery}ism; }