I have the following regex:
^(?:[\w]+?\/)?[\w]+?@[\w]+?\.[\w]+?$
Now I need to limit the overall string length by 25 characters: I tried the following:
^((?:[\w]+?\/)?[\w]+?@[\w]+?\.[\w]+?){0,25}$
But it still matches regexes over 25 characters, why?