Začíname už za

Week 6

Created by Miroslav Biňas / mirek

## E-mail Validation
## Regular Expressions
> Regular expression is a **special text** string for describing a **search pattern**.
    ^([a-z\d\._-]+@([a-z\d-]+\.)+[a-z]{2,6})$
## Regexp Validators * http://rexv.org * https://regex101.com/ * `grep`, `grep -E`, `egrep`
## POSIX ## PCRE
## Regexp are Case Sensitive
## Every Character Counts
## Metacharacters
## Escaping
## AB123CD
## Character Classes
    [ABCDEFGHIJKLMNOPQRSTUVWXYZ]
[0123456789]
    [ABCDEFGHIJKLMNOPQRSTUVWXYZ][ABCDEFGHIJKLMNO
PQRSTUVWXYZ][0123456789][0123456789][0123456
789][ABCDEFGHIJKLMNOPQRSTUVWXYZ][ABCDEFGHIJK
LMNOPQRSTUVWXYZ]
    [A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]
    [A-Za-z0-9_]
    [^A-Za-z0-9_]
    [A-Z][A-Z][0-9][0-9][0-9][A-Z][A-Z]
## Character Repetition * ``{n}`` - `n` times * ``{n,}`` - min. `n` times * ``{n,m}`` - min. `n` times and max. `m` times
    [A-Z]{2}[0-9]{3}[A-Z]{2}
## Quantifiers
    07.04.2016 12:00:29
## Groupping Patterns
    (07.04.2016) (12:00:29)
    (07).(04).(2016) (12):(00):(29)
    ((07).(04).(2016)) ((12):(00):(29))
## Matching Alternatives
## Regular Expressions in C
## Examples
## Questions?
Global search
Case insensitive

Find match