Community Patterns

1

email-validation_email_dogrulama

Created·2024-09-09 23:42
Flavor·PCRE2 (PHP)
^ - This indicates the beginning of the expression. - This part specifies that the first character cannot be a digit, hyphen, or underscore. So the first character must be a letter, period, or other special character. [A-z0-9.-]+ - This part requires the username to contain at least one character, and that character can be a letter, digit, period, or hyphen. @ - This represents the "@" symbol in the email address. [A-z.-]+ - This section states that the domain part must contain at least one character, and that character can be a letter, period, or hyphen. . - This represents the period character used to separate the domain from the top-level domain. [A-z]+ - This part requires the top-level domain to contain at least one character, and that character can only be a letter. $ - This indicates the end of the expression. ^ - Bu, ifadenin başlangıcını belirtir. - Bu bölüm, ilk karakterin rakam, tire veya alt çizgi olmaması gerektiğini belirtir. Yani ilk karakter harf, nokta veya diğer özel karakterlerden biri olmalıdır. [A-z0-9.-]+ - Bu kısım, kullanıcı adının en az bir karakter içermesi ve harf, rakam, nokta veya tire karakterlerinden oluşması gerektiğini gösterir. @ - Bu, e-posta adresindeki "@" sembolünü temsil eder. [A-z.-]+ - Bu bölüm, etki alanı kısmının en az bir karakter içermesi ve harf, nokta veya tire karakterlerinden oluşması gerektiğini belirtir. . - Bu, etki alanı uzantısını ayırmak için nokta karakterini gösterir. [A-z]+ - Bu kısım, etki alanı uzantısının en az bir karakter içermesi ve yalnızca harflerden oluşması gerektiğini ifade eder. $ - Bu, ifadenin sonunu belirtir.
Submitted by Emre Yıldırım

Community Library Entry

0

Regular Expression
Created·2022-08-15 08:08
Flavor·PCRE (Legacy)

/
^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3})|(localhost))(:((6553[0-5])|(655[0-2][0-9])|(65[0-4][0-9]{2})|(6[0-4][0-9]{3})|([1-5][0-9]{4})|([0-5]{1,5})|([0-9]{1,4})))?$|^$
/
gm
Open regex in editor

Description

IPv4 w/ w/o port validation and localhost string supported

Submitted by anonymous