Using wildcards
- Last updated on April 9, 2020 at 7:15 AM
To use wildcards in tagging, use the phrase (.*)
You can use a wildcard to tag groups of pages at once, so that you don't have to add every page one by one if they have similar URLs.
For example if your page is:
https://www.demo.com/2316179/page
You can input a wildcard on the dynamic number to tag every page with the rest of the URL being the same, so your tag would look like
https://www.demo.com/(.*)/page
A tool we recommend for testing out your regular expressions is https://regexr.com/
You can see the examples above being tested at the following URL: https://regexr.com/4gmba