Advertisement
Guest User

RegexBuddy explanation.

a guest
Sep 28th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1.  
  2.  
  3. ^[A-Za-z0-9-_.+%]+@[A-Za-z0-9-.]+\.[A-Za-z]{2,4}$
  4.  
  5. Options: case insensitive; ^ and $ match at line breaks
  6.  
  7. Assert position at the beginning of a line (at beginning of the string or after a line break character) «^»
  8. Match a single character present in the list below «[A-Za-z0-9-_.+%]+»
  9. Between one and unlimited times, as many times as possible, giving back as needed (greedy) «+»
  10. A character in the range between “A” and “Z” «A-Z»
  11. A character in the range between “a” and “z” «a-z»
  12. A character in the range between “0” and “9” «0-9»
  13. One of the characters “-_.+%” «-_.+%»
  14. Match the character “@” literally «@»
  15. Match a single character present in the list below «[A-Za-z0-9-.]+»
  16. Between one and unlimited times, as many times as possible, giving back as needed (greedy) «+»
  17. A character in the range between “A” and “Z” «A-Z»
  18. A character in the range between “a” and “z” «a-z»
  19. A character in the range between “0” and “9” «0-9»
  20. One of the characters “-.” «-.»
  21. Match the character “.” literally «\.»
  22. Match a single character present in the list below «[A-Za-z]{2,4}»
  23. Between 2 and 4 times, as many times as possible, giving back as needed (greedy) «{2,4}»
  24. A character in the range between “A” and “Z” «A-Z»
  25. A character in the range between “a” and “z” «a-z»
  26. Assert position at the end of a line (at the end of the string or before a line break character) «$»
  27.  
  28.  
  29. Created with RegexBuddy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement