You can actually put those all together in one RegEx like so
Which should be quite a bit more efficient than 3 regexes.$str =~ /nb[dk][A-z0-9]{4}|root/;
In reply to Re: Not matching REGEX
by suaveant
in thread Not matching REGEX
by cutter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |