Articles on: [Shopify Platform] Blockify - Fraud IP Blocker

Generate regex patterns with AI

Generate regex patterns with AI


Not sure how to write a regex? Blockify can generate one for you from a plain-language description.


How to use:

  1. After selecting Regex as the Type, click the Generate with AI icon (✨) on the right side of the "Regex pattern" input.
  2. In the panel, describe the bots, browsers, or traffic you want the rule to match (e.g., "AI crawlers such as GPTBot and ClaudeBot" or "Block SEO ahref bots").
  3. Click Generate. Blockify will show you:
    • The generated regex pattern with a copy icon so you can copy it anywhere.
    • What this rule does explanation in plain English.
    • Sample user agents tagged as Matched (green) or Not matched, so you can see how the rule behaves on real examples.
    • Test your rule input where you can paste any User-Agent string to verify the match.
  4. If the result isn't quite right, click Regenerate to try again.
  5. When you're satisfied, click Use this rule — the generated pattern is automatically filled into the Regex pattern field above. You can still edit it by hand before saving.





Note: You can generate up to 10 times per day. The daily limit resets 24 hours after your first generation of the day.
Availability: Currently available on Block User Agent rules. Support for Redirect User Agent and Whitelist User Agent is coming soon.

Updated on: 21/08/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!