SHARE
TWEET

Untitled

a guest Jun 27th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^(([a-zA-Z]:)|(\{2}w+)$?)(\(w[w].*))(.jpg|.JPG|.gif|.GIF|.doc|.DOC|.pdf|.PDF)$
  2.      
  3. ^.*.(jpg|JPG|gif|GIF|doc|DOC|pdf|PDF)$
  4.      
  5. (.*?).(jpg|gif|doc|pdf)$
  6.      
  7. ^.+.(?:(?:[dD][oO][cC][xX]?)|(?:[pP][dD][fF]))$
  8.      
  9. ^           = beginning of string
  10. .+          = at least one character (any character)
  11. .          = dot ('.')
  12. (?:pattern) = match the pattern without storing the match)
  13. [dD]        = any character in the set ('d' or 'D')
  14. [xX]?       = any character in the set or none
  15.               ('x' may be missing so 'doc' or 'docx' are both accepted)
  16. |           = either the previous or the next pattern
  17. $           = end of matched string
  18.      
  19. .(?i:)(?:jpg|gif|doc|pdf)$
  20.      
  21. .(jpg|gif|doc|pdf)$
  22.      
  23. ValidationExpression="^.+.(([pP][dD][fF])|([jJ][pP][gG])|([pP][nN][gG])))$"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top