Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-11-25 07:00
Updated·2021-12-02 12:10
Flavor·PCRE2 (PHP)

/
^(mm[gvis]([0-9]{1,3})?|((media(\.|-)[a-zA-Z]{1,4}[0-9]{1,2}-[0-9]{1,2}\.)(cdn|fna)))\.whatsapp\.net$
/
gm
Open regex in editor

Description

Simple Regex for preventing file and multi-media upload on WhatsApp. Can be used on forward proxy deployments which applies SSL Inspection.

Reference documentation :

Submitted by ulgena