Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Regex Expression for finding a string Which Has one @ and should not start with . or end with
  2. ^(?=[^@]+@[^@]+$)[^.].*[^.]$
  3.        
  4. ^([^.@]+)@([^.@]+)$
  5.        
  6. ^([^.@]+)  // Start with anything except . or @
  7. @          // @ must be somewhere in the expression
  8. ([^.@]+)$  // End with anything except . or @