# Input : The rain in Seattle.
# Output : The hail in Seattle.
"The rain in Seattle" -replace 'rain', 'hail'
##
# ^ -> the first character
# [] -> choose one char to match
# \\w -> match a-z, A-Z, 0-9, and '_'
# . -> except '\\n', match any other characters.
# + -> 'char'+, match the max character as if it is possible.
# () -> Group -> placing group contents in $1.
# $ -> the last character
##
# output: email.com
"[email protected]" -replace '^[\\w]+@(.+)$', '$1'