How about:
if ( $newline =~ /\/[a-zA-Z0-9]+$/ ) { # Some stuff... }
Update: Added backslash at beginning of pattern.
In reply to Re: regex end of line
by DamnDirtyApe
in thread regex end of line
by splitOnce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |