Guest User

Untitled

a guest
Jan 15th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. String regex = "((?i)" + Regex.Escape(extension).Replace("\*", ".*") + "$)";
  2.  
  3. ((?i).*.jpg)$)|((?i).*.png)$)|((?i).*.bmp)$)
  4.  
  5. /.*.(jpg|png|bmp)$/i
  6.  
  7. String regex=new RegEx(@".*.(jpg|png|bmp)$",RegexOptions.IgnoreCase);
  8.  
  9. /.*(myfile.jpg|.png|.bmp)$/i
Add Comment
Please, Sign In to add comment