Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列を置き換える方法を知りたいですか? someone@website.com私はメールアドレスを持って@い%ます.。±
someone@website.com
@
%
.
±
var replacements = {"@": "%", ".": "±"}; string.replace(/@|\./, function (match) { return replacements[match]; });