Question
Can I apply Filters with personal information as the Target?
Answer
By using regular expressions, you can detect various Patterns.
Notes
These Setup items are configured to detect specific strings or sequences of numbers.
Therefore, they may detect strings that you do not originally want to detect, such as product model numbers or unrelated place names.
In addition, because personal information in email signatures is also a detection Target, we recommend setting the Count higher.
※When using this Setup, be sure to adjust [Count] in advance and Confirm that the emails and strings you want to process with Filters are detected.
Credit Card Numbers
Detects strings in the following credit card number formats used by various companies.
- 4123-4567-8901-2345: Format starting with 4
- 5300 1234 5678 9012: Format starting with 51–55
- 3582123456789012: Format starting with 3528–3589
- 3712-456789-12345 (4-6-5 digits): Format starting with 34 or 37
- 3001-123456-1234 (4-6-4 digits): Format starting with 300–305, 36, 38, or 39
- 6011-0000-1111-2222: Format starting with 6011
Email DLP Rule Setup Values
- Search Field: Message Body (including attachments)
- Predicate: matches regular expression
-
Search String:
\b(?:(?:4\d{3}|(?:5[1-5]\d{2}|2(?:22[1-9]|2[3-9]\d|[3-6]\d{2}|7[0-1]\d|720))|62\d{2}|35(?:2[89]|[3-8]\d)|6011)(?:[- ]?\d{4}){3}(?:\d{3})?|(?:3[47]\d{2}|30[0-5]\d|3[689]\d{2})(?:[- ]?\d{6}[- ]?\d{4,5}|(?:[- ]?\d{4}){2}[- ]?\d{2,4}))\b - Count (Recommended): 20
Telephone Numbers (Domestic)
Detects common telephone numbers in Japan.
※Please note that similar formats, such as membership numbers, may be detected.
※The following regular expression is an example. Please verify the strings expected to be used before use.
※As international telephone numbers have different formats depending on the country, if you want to detect international telephone number formats, add and verify an expression that can detect telephone numbers for the Target country before use.
- 090-1234-5678: Starts with 0 and consists of 3-4-4 digits
- 03-1234-5678: Starts with 0 and consists of 2-4-4 digits
- 0123-45-6789: Starts with 0 and consists of 4-2-4 digits
- 0120-123-456: Toll-free number starting with 0 and ending with 3 digits
- (0120) 123-456: Pattern with half-width parentheses around the area code
- Patterns with no delimiters in the number or delimiters using half-width spaces
Email DLP Rule Setup Values
- Search Field: Message Body (including attachments)
- Predicate: matches regular expression
-
Search String:
(?:^|[^0-9])(?:\(0\d{1,4}\)|0\d{1,4})[- \s]?\d{1,4}[- \s]?\d{3,4}(?:[^0-9]|$) - Count (Recommended): 20
Prefectures
Detects Japanese prefecture names.
Email DLP Rule Setup Values
- Search Field: Message Body (including attachments)
- Predicate: matches regular expression
-
Search String:
東京都|北海道|大阪府|京都府|県 - Count (Recommended): 50
Surnames
Specifies kanji characters that are particularly common among those used in Japanese names.
- One-character surnames
- Two-character surnames (combinations of kanji commonly used for the first character and kanji commonly used for the second character)
- Three-character surnames
Email DLP Rule Setup Values
- Search Field: Message Body (including attachments)
- Predicate: matches regular expression
-
Search String:
(日|水|木|甲|金|土|阿|安|伊|井|稲|宇|永|榎|遠|奥|横|下|加|河|角|笠|梶|鎌|丸|岩|亀|菊|吉|久|及|宮|橋|近|窪|熊|栗|桑|古|戸|後|向|工|広|江|荒|高|黒|今|根|佐|斎|細|坂|榊|桜|三|山|市|児|寺|篠|柴|若|酒|秋|渋|出|緒|小|庄|松|上|植|新|神|須|杉|菅|成|清|青|斉|石|千|川|浅|前|早|増|足|村|多|太|大|滝|沢|丹|池|竹|中|町|長|津|塚|天|田|渡|島|嶋|藤|徳|内|馬|梅|萩|白|畠|八|飯|樋|尾|浜|富|武|服|福|平|米|片|豊|望|北|牧|本|茂|野|矢|柳|落|鈴|和|齋)(水|木|子|井|羽|浦|永|屋|下|賀|垣|間|橋|玉|口|好|江|高|合|黒|根|崎|山|司|松|上|城|場|瀬|石|川|倉|村|多|代|宅|沢|達|端|地|池|竹|中|塚|田|島|嶋|藤|内|伯|斐|尾|部|辺|保|方|本|野|柳|葉|立|輪)|林|森|原|東|関|辻|堀|南|岡|西|谷|星|堤|泉|岸|佐々木|五十嵐 - Count (Recommended): 100
Thai National Identification Number
Specifies Thai national identification numbers.
- 1-2345-67890-12-3: A standard 1-4-5-2-1 digit (hyphen-separated) format beginning with a number from 1 to 8
- 1234567890123: A format beginning with a number from 1 to 8, with no hyphens and 13 consecutive digits
- 1 2345 67890 12 3: A format beginning with a number from 1 to 8, separated by half-width spaces instead of hyphens
Email DLP Rule Setup Values
- Search Field: Message Body (including attachments)
- Predicate: matches regular expression
-
Search String:
\b[1-8](-\d{4}-\d{5}-\d{2}-|\d{11})\d\b - Count (Recommended): 5-10
Translation Disclaimer
This article has been automatically translated from the original Japanese version for your convenience.
While we strive to ensure accuracy, we cannot guarantee its reliability or completeness.
In the event of any discrepancies or questions regarding the content, the official Japanese version shall prevail.