Você está na página 1de 2

Regex Analytics Examples.

txt
Regex Analycs Examples
RegEx Command
^ca\..+mail\.yahoo
Syntax:
^ca : starts with ca
^ca\. : starts with ^ca\.
.+ : any text in bethween
mail\.yahoo.com : mail.yahoo.com
Results:
ca.msg212541.mail.yahoo.com
ca.mg0726.mail.yahoo.com
----------------------
Main Regex Command:
^google\.(com$|co\.uk)
Explanaon:
^ : starts with "google"
com|uk : com & uk
com$ : ends with "com"
\ : escape character for period
Results:
google.com
google.co.uk
----------------------
Regex Command:
google\.(com|co\.uk)
Explanaon:
com|uk : com & uk
\ : escape character for period
Results:
translate.google.com
mail.google.com
google.com.br
google.com
google.co.uk
----------------------
Page 1
Regex Analytics Examples.txt
Regex Command:
google\.(com$|co\.uk)
Explanaon:
com|uk : com & uk
com$ : ends with "com"
\ : escape character for period
Results:
translate.google.com
mail.google.com
google.com
google.co.uk
Page 2

Você também pode gostar