Home
Tester
Reference
About
Pattern
(?<=\s+|^)(?<toReplace>\S+(@gmail.com|@yahoo.com))(?=\s+|$)
Input
test@gmail.com
test@abc.com
@teest@yahoo.com
test@gmail.com test@abc.com @teest@yahoo.com
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...
SOMETEXT
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
11
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
${toReplace}
0
0
test@gmail.com
SOMETEXT
@gmail.com
test@gmail.com
1
28
@teest@yahoo.com
SOMETEXT
@yahoo.com
@teest@yahoo.com
SOMETEXT
test@abc.com
SOMETEXT
empty string
@gmail.com
test@gmail.com
test@abc.com
@yahoo.com
@teest@yahoo.com
empty string