my $regex = qr{ \A # start of string .{3} # any 3 characters _ # underscore .*_ear # anything ending in _ear \z # end of string }xs;
(Update: fixed ending of string)
In reply to Re: Help with form validation regex
by moritz
in thread Help with form validation regex
by perlnewb123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |