Home
Tester
Reference
About
Pattern
^(?!.{51})[a-zA-Z]+(?:\.[a-zA-Z]+(?:-[a-zA-Z]+)?)?\r?$
Input
Joe.Smith
Joe.Doe-Smith
Joe.Doe- Joe.-Doe
Joe.Smith Joe.Doe-Smith Joe.Doe- Joe.-Doe
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
0
0
Joe.Smith
1
11
Joe.Doe-Smith
Joe.Smith
Joe.Doe-Smith
Joe.Doe- Joe.-Doe
empty string
whitespace
Joe.Doe-
Joe.-Doe