The ^ and $ will ensure that the string doesn't start or end with a space./^[a-z0-9]{5,12}$/i
In reply to Re: Regex: Specifying quantity for bracketed items
by injunjoel
in thread Regex: Specifying quantity for bracketed items
by Hagbone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |