\.((jpg)|(gif)|(jpeg)|(png)|(doc)|(docx)|(pdf)|(zip)|(rar))$
that's the regex i am testing in Regex Hero. test string is Sprite.png
Just 2 simple questions
- Matches show as 2 Groups why is it so? the test string contains only one png
- I used the same expression is a .net Regular expression validator and it doesn't validate correctly. I want the extensions in the groups to be allowed by a file input