???? ??? JavaScript ??? ??? ???????? ??? ??? ??? ???? ?? ??? 1? ?? ??? ?????. ??? ??? ???? ??? ??? ???? ?? ?????? ??? ??? ?? ??? ? ????.
?? ???? ??? ?? ?? ?? ???(regex)? ???? ?? ?? ? ???? ??? ??? ???? ?? ???? ?? ? ?????. ? ?? ??? ?? ???? ????? ????? ???? ???? ?????.
- ??? ??? ?? ??
- ?? ??? ?? ??
- ?? ?? ??
- ?? ?? ? ?? ??
- ??? ????? ??
- ??
??? ??, ?? ??? ?? ??? ??? ???? ???? ?? ??? ??? ??? ?????. ? ?? ?????? ?? ??? ???? ??????? ?? ??? ??? ??? ????? ???? ?? ?? ???? ?? ?? ???????.
??? ??? ???? ?? ??? ??? ??? ?? ???? ???? ??? ???? ?? ??? ??? ????. ??? ??? ??? ????? ??? ?? ?? ??? ?? ???? ???? ??? ?? ?? ??? ?? ?????.
JavaScript ??? ??? ???? ??? ????? ???? ???? ?? ?????? ??? ? ?? ?? ??? ?? ???????.
??? ??? ?? ??
??? ??? ???? ?? ??? ??? ??? ????, ??? ??? ??? ??? ???? ?? ?????. ??? ??? ?? ??(@ ?), @ ??, ??? ??(@ ?)? ? ?? ?? ?? ??? ?????.
??? ??? ???? ??? ??????
- ?? ??? ??? ? ?? ??? ?? ??
- ???? ????? ??? ?? ??
- ?????? ??? ?? ?? ??? ????
- ??? ??? ??? ?? ??
??? ?? ??? ?? ??? ??? ??? ?? ?? ??? ?? ?? ???? ?????.
??? ??? ?? ????
?? ???? ?? ?? ??? ??? ? ??? ??? ??? ??? ?? ???? ?? ?? ????. ??? ??? ?? ??? ??? ???? ???.
- @ ?? ?? ??: @ ??? ??? 1?? ???? ???
- ?? ?? ???: @ ?? ??? ?? ??
- ??? ???: ??? ??? ?? ??
- TLD ?? ??: ??? ? ?? ??? ??? ???
? ?? ?: ??? ??? ??? ????? ??? ?? ???? ???? ? ?? ??? ????. ??? ?? ???? ?? ????? ???? ??? ??? ?? ??? ?????.
???? ?? ??
??? ??? ??? ? ??? ?? ? ?? ???? ??? ???? ???.
- ??? ??? ??? ???? ??
- ?? ??? ?? ??
- ?? ??? ???? ??
- ?? ??? ? ?? ? ??
??? ?? ??? ??? ???? ???? ??? ?? ??? ???? ?? ??? ????, ?? ???? ?? ???? ???????.
?? ??? ?? ??
??????? ???? ??? ?? ??? JavaScript? ??? ?????. ?? ???? ??? ?? ??? ???? ??? ???? ?? ???? ?? ??? ??? ???? ???????.
?? ??? ?? ??
?? ??? ??? ??? ????.
const emailPattern = /^[^s@] @[^s@] .[^s@] $/;
?? ??
?? ??
?? ?? ???:
?? verifyEmail(???) {
const emailPattern = /^[^s@] @[^s@] .[^s@] $/;
emailPattern.test(email)? ?????.
}
?? ?? ??:
function verifyEmail(???) {
(!email)? false? ???? ??;
if (??? ?? !== '???') ?? false;
const emailPattern = /^[^s@] @[^s@] .[^s@] $/;
emailPattern.test(email.trim())? ?????.
}
???
// ??? ??? ?? ???
console.log(validateEmail('user@example.com')); //?
console.log(validateEmail('invalid.email')); // ??
console.log(validateEmail('user@domain')); // ??
console.log(validateEmail('user@sub.domain.com')); //?
?? ??: ? ?? ??? ???? ?? ??? ????? ?? ???? ??? ????? ?? ?? ????. ???? ??????? ?? ?? ??? ??? ????? ???? ??? ?? ???? ???? ?? ????.
???? ?? ????
?? ?? ????? ??? ??? ???? ??? ??? ????.
// ?? ?? ??
document.getElementById('emailForm').addEventListener('submit', function(e) {
const email = document.getElementById('email').value;
if (!validateEmail(???)) {
e.preventDefault();
alert('??? ??? ??? ?????');
}
});
?????? ?? ??? ??? ?? ??? ?? ??? ???? ??? ??????? ??? ??? ?? ??? ?? ???? ?????.
?????: ??? ?? ?????? ??? ?? ??? ??? ?? ???? ???. ????? ???? ???? ????.
?? ?? ??
?? ??? ???? ???? ????? ???? ?? ?? ??? ???? ???? ???? ? ??? ??? ??? ??? ? ????. ??? ??? ?? ??? ?? ??? ???????.
?? ??? ??
const AdvancedEmailPattern = /^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @a-zA-Z0-9?(?:.a -zA-Z0-9?)*$/;
?? ???? ??
?? ??
?? verifyEmailAdvanced(???) {
// ?? ??
if (!email || ??? ?? !== 'string') ?? false;
??? = email.trim().toLowerCase();
// ?? ??
(email.length > 254) false? ???? ??;
// ?? ?? ???
const AdvancedEmailPattern = /^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @a-zA-Z0-9?(?:.a -zA-Z0-9?)*$/;
(!advancedEmailPattern.test(email))? false? ???? ??
// ?? ??
const [localPart, ???] = email.split('@');
(localPart.length > 64)? false? ???? ??;
?? ?????.
}
???? ??? ??
???? ??? ??? ?? ?? ?? ?? ??? ?????.
???? ??:
?? checkDomainRules(???) {
const ??? = email.split('@')[1];
// ?? ????? ?? ???? ??? ?????
const commonDomains = {
'gmail.com': ['gmai.com', 'gmial.com'],
'yahoo.com': ['yaho.com', 'yahoo.com'],
'hotmail.com': ['hotmai.com', 'hotmal.com']
};
// ??? ?? ??
- }
?? ??? ??: // IDN(?? ??? ??) ?? ??
?? verifyInternationalEmail(???) {
? ??? {
?? ?? = email.split('@');
??[1] = punycode.toASCII(??[1]);
return verifyEmailAdvanced(parts.join('@'));
} ?? (e) {
?? ??;
}
- }
? ??? ?: ???? ??? ?? ??? ??? ?? ??? ??? ?????. ??? ?? ?? ??? ?? ????? ???? ??? ?? ??? ?????.
?? ???
???? ???? ??? ?? ?? ?? ???? ??? ??? ??????.
// ?? ??
const EMAIL_PATTERN = /^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @a-zA-Z0-9?(?:.a -zA-Z0-9?)*$/;
?? verifyEmail(???) {
EMAIL_PATTERN.test(???)? ?????.
}
// ??? ????
?? verifyEmail(???) {
const ?? = /^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @a-zA-Z0-9?(?:.a -zA-Z0-9?)*$/;
?? ??.???(???);
}
??? ?? ??? ? ?? ?? ??? ?? ??? ??? ??? ???? ?? ??? ?? ??? ???? ?????.
?? ?? ? ?? ??
??? ??? ????? ???????? ??? ??? ??? ????? ??? ???? ?? ??? ??? ?? ?????.
??? ??? ??
?? ?? ??
??? ? ?? ??? ??? ?? ?? ??? ????.
?? ???:
- ?? ?? ???? ??
- ??? ??? ?? ??
- ??? ?? ??
?? ??: ?? verifyEmailWithErrors(email) {
const ?? = [];
if (!email) {
errors.push('???? ?????');
?? { isValid: false, ?? };
}
if (email.length > 254) {
errors.push('???? ?? ???.');
}
if (!email.includes('@')) {
errors.push('????? @ ??? ????? ???.');
}
?? {
isValid: ??.?? === 0,
??
};
}
?? ??: ????? ? ??? ???? ???? ????. ?? ?? ? ??? ??????.
?? ?? ??
??? ?? ???? ?? ??? ??????.
2?? ??: // ?? ?
??? ?? verifyEmail(email) {
if (!basicValidation(???)) {
?? ??;
}
// 2? ??
?? ?? ? checkEmailExists(email);
}
???? ??? ??: function verifyDomain(email) {
const ??? = email.split('@')[1];
checkDNSRecord(???) ??;
}
???? ??? ?? ??? ??? ??? ??? ?? ?? ??? ?? ??? ???? ?????.
??? ? ???? ??
- ???? ???? ??: ??? ??? ??? ???? ???
- ???? ?? ???: ????? ??? ??? ??
- Missing Edge Cases: ?? ?? ? ??? ??
- ?? ??: ? ?? ??? ?? ??? ?? ???
??? ?? ??? ????? ?? ?? ??? ??? ?? ??? ?????.
?? ?? ??
- ???? ???? ?? ?? ??? ?? ??
- ???? ?? ?? ??
- ??? ??? ?? ??
- ??? ??????? ?? ??? ??? ??
- ?? ??? ?? ???? ???? ??
??? ????? ??
??? ??? ???? ????? ? ??? ????? ??? ?? ???? ???? ???? ??? ??? ???? ?????.
Regex? API ?? ??
??? ?? CompleteEmailValidation(email) {
// ?? ??? ??? ??? ?????
if (!validateEmailAdvanced(???)) {
?? {
???: ??,
??: '??? ??? ??'
};
}
// API ???? ??
? ??? {
const ?? = verifyEmailWithService(email)? ?????.
?? {
isValid: response.isValid,
????: response.verificationDetails
};
} ??(??) {
console.error('?? ??? ??:', error);
// ??? ????? ??
?? {
isValid: ?,
??: '??? ??? ??? ? ????.'
};
}
}
?? ?? ??
?? ??: const rateLimiter = {
??: {},
checkLimit: ??(???) {
const now = Date.now();
if (this.attempts[???] &&
this.attempts[email].count >= 3 &&
?? - this.attempts[email].timestamp < 3600000) {
?? ??;
}
// ???? ??
this.attempts[???] = {
??: (this.attempts[email]?.count || 0) 1,
?????: ??
};
?? ?????.
}
};
- ?? ??: ???? ?? ?? ??
- ??: ?? ???? ???? ?? ?? ?? ??
? ??? ?: ??? ?? ????? ??? ??? ??? ???? ??? ?? ??? ?????.
?? ?? ??
??? ??? ??? ?? ??? ??? ???? ??? ???? ?? ?????. ??? ???? ??? ??? ?? ????? ??? ?????.
??
JavaScript ???? ???? ???? ??? ??? ???? ?? ??? ??? ???? ??? ??? ???? ? ?????. ?? ??? ???? ??? ????.
- ?? ??? ?? ?? ??? ???? ??
- ?? ???? ??? ?? ?? ?? ??
- ?? ??? ???? ?? ?? ??? ????
- ??? ??? ?? ??? ?? ???? ??
- ?? ??? ???? ?? ?? ???
?????: ??? ??? ??? ??? ??? ???? ?? ? ??????? ?? ?? ?????. ???? ??? ??? ????? ?? ?? ??? ???? ?? ??? ???? ?????.
?? ??
- ?? ??? ?? ??? ?????
- ??? ??? ?? ??
- ?? ????? ??? ??????
- ??? ??? ???? ???? ???
- ?? ??? ???? ? ??
??? ??? ??? ??? ??? ??? ???? ??????? ??? ??? ??? ??? ?? ????? ??? ???? ?? ??? ?? ? ????.
? ??? JavaScript ??? ?? ???: ??? ??? ??? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Java ? JavaScript? ?? ?? ????? ??? ?? ?? ?? ???? ????? ?????. Java? ??? ? ??? ?????? ??? ???? JavaScript? ?? ? ??? ??? ?????.

JavaScriptCommentsareEnsentialformaining, ?? ? ???? 1) Single-LinecommentsERUSEDFORQUICKEXPLANATIONS.2) Multi-linecommentSexplaincleClexLogicOrprovidedEdeDDocumentation.3) inlineecommentsClarifySpecificPartSofcode.bestPractic

JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

JavaScriptIspreferredforwebDevelopment, whithjavaisbetterforlarge-scalebackendsystemsandandandoidapps.1) javascriptexcelsincreatinginteractivewebexperiences withitsdynatureanddommanipulation.2) javaoffersstrongtypingandobject-Orientededededededededededededededededdec

javascriptassevenfundamentalDatatatypes : ??, ???, ??, unull, ??, ? symbol.1) ?? seAdouble-precisionformat, ??? forwidevaluerangesbutbecautiouswithfatingfointarithmetic.2) stringsareimmutable, useefficientconcatenationmethendsf

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

Java? JavaScript? ?? ????? ?????. 1. Java? ???? ???? ??? ? ??? ?????? ?????? ? ?? ???? ?????. 2. JavaScript? ?? ? ?? ?? ? ??? ?? ??? ???? ??? ? ?? ? ?? ?????.
