In the event that the forces of
darkness are accidentally summoned
by your REGEX creation, this talk will
not be helpful.
4 @chloeivyroseseo @myriamjessier
Slide 5
Slide 5 text
5
@chloeivyroseseo @myriamjessier
Slide 6
Slide 6 text
6
@chloeivyroseseo @myriamjessier
Slide 7
Slide 7 text
7
@chloeivyroseseo @myriamjessier
Slide 8
Slide 8 text
8
@chloeivyroseseo @myriamjessier
Slide 9
Slide 9 text
What do 'lazy' and 'greedy' mean in
the context of regular expressions?
9 @chloeivyroseseo @myriamjessier
Slide 10
Slide 10 text
10
'Greedy' means match
longest possible string.
'Lazy' means match
shortest possible string.
Trying to read or write a regex can feel
like trying to decipher Egyptian
hieroglyphics.
16 @chloeivyroseseo @myriamjessier
Slide 17
Slide 17 text
Google Sheet Script To
Convert Plain English
Descriptions Into
Regex Statements
@chloeivyroseseo @myriamjessier
Slide 18
Slide 18 text
1. Enter a description (in English) of
the Regex filter you need and you’ll
get a properly formatted Regex.
18 @chloeivyroseseo @myriamjessier
Slide 19
Slide 19 text
2. The script uses OpenAI’s GPT3
machine learning model to
convert standard English
statements into valid Regex.
19 @chloeivyroseseo @myriamjessier
Slide 20
Slide 20 text
3.Danny, the creator has the best sales
pitch for this thing: “Download a
copy of my Google Sheet and script
to put an end to your tears.”
20 @chloeivyroseseo @myriamjessier
Slide 21
Slide 21 text
La démonstration !
Slide 22
Slide 22 text
Regex for SEO
22 @chloeivyroseseo @myriamjessier
Slide 23
Slide 23 text
23
Regular expressions are one of the most powerful
tools in the SEO toolbox.
@chloeivyroseseo @myriamjessier
25
^(clean|broken|wash
off|shattered|polish|proble
m|treat|doesn't
work|replace|doesn't
start|scratch|repair|manua
l|fix|protect|renew|covera
ge|warranty)[” “]
Remember, you need to
select the REGEX option in
the dropdown menu!
30
By default, UA
treats a regex
as a "partial
match."
The expression
will be true if the
pattern is
contained
anywhere in the
data.
@chloeivyroseseo @myriamjessier
Slide 31
Slide 31 text
31
In GA4, the
default regex is
a "full match."
The data must
exactly match
the pattern you
provide.
@chloeivyroseseo @myriamjessier
Slide 32
Slide 32 text
GA4 has ‘Organic Social’
and ‘Paid Social’. When the
source is a social network
and the medium matches
the following regular
expression:
^(.*cp.*|ppc|paid.*)$
32
@chloeivyroseseo @myriamjessier
Bibliography
Regex For SEO: A Guide To Regular Expressions (With Use Cases)
A Marketer's Guide to Using Regex in Search Console [Video] -
Annielytics.com
Don't Be Tongue-Tied: Learn RegEx Patterns for SEO
Beginner Guide To Regex For SEO - JC Chouinard
Regular Expressions (RegEx) in Google Search Console - JC
Chouinard
https://riseatseven.com/blog/google-data-studio-case-when-stat
ements/
Slide 49
Slide 49 text
New Bibliography
Using CASE WHEN in Google Data Studio to Supercharge Your
Reporting
Irregular regex for regular people - brightonSEO online -
October 2022 by Rough Agenda