Browse Guides

Reacting Personal Information on Tickets - PII Data Flagging
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide has multiple versions available:
<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><p><strong>In this guide we will cover:</strong></p><p data-pasted="true"><strong>What is PII Data Flagging?</strong></p><p><strong>Setting up PII Data Flagging</strong></p><p><strong>Scanning Tickets for PII</strong></p><p><strong>Viewing Detected PII for a Particular Ticket</strong></p><p><strong>Redacting Data</strong></p><p><strong>See all Active PII Detections and Redact/Ignore History</strong></p><p><strong>What does Redacting Data Do?</strong></p><p><br></p><p><br></p><p><strong><em>The functionality in this guide is available from v2.238+.&nbsp;</em></strong></p><p><br></p><p><br></p><p><strong><span style="font-size: 14pt;">What is PII Data Flagging?</span></strong></p><p data-pasted="true">PII data flagging allows you to scan tickets for personally identifiable information, review this data and redact this from your database. Tickets can be scanned both automatically after certain events, and manually by agents. Making it easier for you to remove personal data from your database, aiding security and compliance.&nbsp;</p><p><br></p><p><strong><span style="font-size: 14pt;">Setting up PII Data Flagging</span></strong></p><p>To enable this functionality in your instance head to Configuration &gt; Users &gt; General Settings &gt; PII Data Flagging Section &gt; enable &quot;Enable PII data flagging&quot;.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE1ODEyZTNkLThhMzAtNGU3Zi1hNDIwLWFlOWE2ZDEwZjVlYyJ9.hguyRoq3cWV38GZq2EKeHWsqkWCPwdTnJlWEEHhQ7Wk" class="fr-fic fr-fil fr-dib" width="1579" style="width: 1581px; height: 809.27px;" height="809"></p><p><strong><span style="font-size: 10pt;">Fig 1. Enable PII Data Flagging</span></strong></p><p><br></p><p>Once enabled, additional configuration options will become available to configure how PII is flagged.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Choose Which Data is Flagged</span></strong></p><p>You will need to pick which types of personal data you would like to scan for, only the data types selected will be checked for when a ticket is scanned. Use the fields highlighted in Figure 2 to do this.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjQ4MTYxOWRlLTRkNDUtNDIxMi1iMTg5LTFmMmRmMjI4NDVjNCJ9.cHG_BFevPssteNmlBI6tRId_IDxUlOADrbS-u17BodU" class="fr-fic fr-fil fr-dib" width="1661" style="width: 1663px; height: 576.568px;" height="577"></p><p><strong><span style="font-size: 10pt;">Fig 2. Fields to pick the ticket types and data types to flag</span></strong></p><p><br></p><p>Using the Figure 2 example, when tickets are scanned they will be checked for email addresses, payment card numbers, and national insurance numbers, only data of these types will be flagged.&nbsp;</p><p><br></p><p><span style="color: rgb(0, 0, 0);">At present, regex, along with other algorithms and checks, are used to detect each data type. For details on the expressions used, and the format information would need to be in to be identified as one of the personal data types, see Figure A1 in the Appendix.&nbsp;</span></p><p><br></p><p><strong><span style="font-size: 12pt;">Choose who can Scan for and Review PII</span></strong></p><p>Agent permissions are used to control who trigger a scan on tickets for PII (manually) and who can view and redact the potential PII picked up by the scan. The following agent permission is used for this:</p><ul><li data-pasted="true">PII Data Access Level</li></ul><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImUxOTQ3ZDAyLTZhZjQtNGM1Mi1iZmY5LWRmNGE4NDBjMzFmZCJ9.BgJtnABcsHcjYtWkmH-lfFZHBUK-sB5YT4jcuXVf2f8" class="fr-fic fr-fil fr-dib" width="1720" style="width: 1722px; height: 450.868px;" height="451"></p><p><strong><span style="font-size: 10pt;">Fig 3. PII Data Access Level Permission</span></strong></p><p><br></p><p><strong><em>Note: For information on setting agent permissions checkout our guide&nbsp;</em></strong><a href="https://usehalo.com/haloitsm/guides/882" target="_blank" rel="noopener noreferrer"><strong><em>here</em></strong></a><strong><em>.&nbsp;</em></strong></p><p><br></p><p><strong>No Access -&nbsp;</strong>The agent will not be able to trigger scans, or view/redact any potential PII picked up by scans.&nbsp;</p><p><span style="color: rgb(0, 0, 0);"><strong>Read Only -</strong> The agent will not be able to trigger scans. The agent will be able to view potential PII picked up by scans, but they will not be able to redact or ignore this.&nbsp;</span></p><p><strong>Read and Modify -</strong> The agent will be able to trigger scans manually. The agent will be able to view potential PII picked up by scans and redact this information.&nbsp;</p><p><br></p><p><strong><span style="font-size: 14pt;">Scanning Tickets for PII&nbsp;</span></strong></p><p>Tickets can be scanned for PII either automatically, or manually by an agent when they are viewing the ticket.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Scan Tickets Automatically</span></strong></p><p>Tickets can be scanned automatically after the following events:</p><ul><li>When a ticket is logged</li><li>When a ticket is updated by the user</li><li>When a ticket is closed</li><li>When the chat linked to the ticket is ended</li></ul><p><br></p><p>To enable this, head to Configuration &gt; Users &gt; General Settings &gt; enable the setting shown in Figure 4 based on when you would like tickets to be automatically scanned.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImJmZTkzYzQxLTQ0NjEtNDM0My1hY2Y2LTUzOTA5YmI1ZTMzMSJ9.5ACuRK2TmLY4iM2ffBa2vWH8RYlJ5yac1Dx9oXZf4YU" class="fr-fic fr-fil fr-dib" width="1725" style="width: 1727px; height: 623.84px;" height="624"></p><p><strong><span style="font-size: 10pt;">Fig 4. Enable Tickets to be scanned automatically</span></strong></p><p><br></p><p data-pasted="true">Then, pick which ticket types you would like to be automatically scanned and flag PII on. This applies to automatic scanning only, all ticket types will be able to be scanned manually. Use the field highlighted in Figure 5 to do this.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImI4MDAzMmRhLTlhMmYtNDYxZi1iZWUyLTZkYzdmNzU2OTc0ZSJ9.zJMkjlv5ffoB4E8QXYQFKHrRlMWLsOjPUF8fe2Ib7h4" class="fr-fic fr-fil fr-dib" width="1522" height="525" style="background-color: transparent; font-size: 13px; width: 1524px; height: 525.153px;"></p><p><strong><span style="font-size: 10pt;">Fig 5. Ticket Types to scan for PII automatically</span></strong></p><p><br></p><p>Using the Figure 5 example, only tickets with the types &#39;Incident&#39;, &#39;Service Request&#39; or &#39;Change Request&#39; will be scanned for PII automatically.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Scan Ticket Manually</span></strong></p><p>Agents who have the permission &quot;PII Data Access Leve<span style="color: rgb(0, 0, 0);">l - Ready and Modify&quot;</span> will see a shield icon in the top right when viewing a ticket. Hovering over this will bring up the option to &quot;Scan for PII Data&quot;. Clicking this will scan the ticket for PII.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1YzhmN2Y4LWUzYzUtNGY1NC04ODNjLWMyMGRkNmJiMDE4ZSJ9.LhKw7UgdL0WuRR5mNkg89PVXKWVmAgwZCIs89HxZCDs" class="fr-fic fr-fil fr-dib" width="1858" style="width: 1860px; height: 633.462px;" height="633"></p><p><strong><span style="font-size: 10pt;">Fig 6. Manually Scan a Ticket for PII</span></strong></p><p><br></p><p><strong><span style="font-size: 12pt;">Which Ticket Fields are Scanned?</span></strong></p><p>The following fields will be checked when scanning a ticket for PII.</p><p data-pasted="true">Tickets Fields:</p><ul><li>Details</li><li>Details HTML</li><li>Actions</li></ul><p>Note Fields:</p><ul><li>Note HTML</li><li>Email Body</li><li>Email Body HTML</li></ul><p>Chat Fields:</p><ul><li>Chat Message</li><li>Chat Message HTML</li></ul><p><strong><span style="font-size: 14pt;">Viewing Detected PII for a Particular Ticket</span></strong></p><p>Following a scan, potential cases of PII can be viewed for a ticket by hovering over the shield icon and selecting &quot;Open Privacy Centre&quot;.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjQ5MjdjNjJiLTNjNGUtNGFjMi05OTNiLTkzNjcwNjFjOWVhYyJ9.RFMidSSPj5PmHXllf9ewtQEhEy_EPVIoqJWMsCJSGbc" class="fr-fic fr-fil fr-dib" width="1924" style="width: 1926px; height: 655.94px;" height="656"></p><p><strong><span style="font-size: 10pt;">Fig 7. View PII for a Ticket</span></strong></p><p><br></p><p>This will bring up a modal window showing all detected PII in this ticket (that you have set to flag).<br><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZGE0OWRkLTM2M2ItNDI3ZS04YWY1LWQzZWEwZTJjY2M0ZiJ9.cbriHbFf3b51U2BWOn0NM5aeLtFsx1koAgKgguCaxUg" class="fr-fic fr-fil fr-dib" width="1929" style="width: 1931px; height: 419.41px;" height="419"></p><p><strong><span style="font-size: 10pt;">Fig 8. Flagged Data for a Ticket</span></strong></p><p><br></p><p>You will notice even though there is one action logged on the example ticket shown in Figure 7, there are six entries for flagged data. This is because an entry will show for each field in the database potential PII has been found in. As this one action populates multiple fields, multiple flags have been raised.&nbsp;</p><p><br></p><p>Click into an entry to see more detail about the information flagged.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjIyODA1YmZhLTBmMDUtNDNiMi05NTY0LWExYjkzM2I5ZTg5ZiJ9.XxCC0XgiBPPZE6btz6RYT9QncpDnrugLB3Q-QM8fRRw" class="fr-fic fr-fil fr-dib" width="1936" style="width: 1938px; height: 444.437px;" height="444"></p><p><strong><span style="font-size: 10pt;">Fig 9. Flagged Data Details</span></strong></p><p><br></p><p>The &quot;Detected Data&quot; field here will contain the data the system has flagged as potentially being personal information. In the Figure 9 example, this is an email address.&nbsp;</p><p><br></p><p>This allows you to review the data that has been flagged and check if this is indeed personal information or not.&nbsp;</p><p><br></p><p><strong><span style="font-size: 14pt;">Redacting Data</span></strong></p><p>Once you have reviewed flagged data you can redact this using the &quot;Redact&quot; action against the flagged data details.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBjOTMxZTMwLWQ4NzAtNGNhOS04ZTFjLTBiNDQ5MzYyNzFlMCJ9.KoL6n8wbCCre_AuvajC7X1gvaHfCxY9fSnkahxFV6GQ" class="fr-fic fr-fil fr-dib" width="2127" style="width: 2129px; height: 488.239px;" height="488"></p><p><strong><span style="font-size: 10pt;">Fig 10. Redact Data</span></strong></p><p><br></p><p><strong><span style="color: rgb(226, 80, 65);">Important: Redaction is permanent and cannot be reversed.&nbsp;</span></strong></p><p><br></p><p>Once an entry is redacted the data in the field will be replaced with &#39;[Redacted Data Type]&#39; where the data once was.</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU0MTkyYTQ5LTgxNTktNDMwNi05NzA3LWMwYWFkYTA3Y2UyNSJ9.SCMD-wBes62X4b2U5HI8yhCK4miD_7WIUnEPQ-gPZ-M" class="fr-fic fr-fil fr-dib" style="width: 1857px; height: 649.655px;" width="1855" height="650"></p><p><strong><span style="font-size: 10pt;">Fig 11. Field Data after being redacted</span></strong></p><p><br></p><p>The data flag entry will be also be removed from the &#39;Privacy Centre&#39;.</p><p><br></p><p>If you deem the flagged data as not personal information you can use the &quot;ignore&quot; action to remove this from the Privacy Centre. &nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Redacting in Bulk</span></strong></p><p>Data can also be redacted/ignored in bulk by selecting multiple entries at once in the Privacy Centre.&nbsp;<img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE5M2U0YzNmLTM0YTYtNGU4My1iYzNiLTQxNjE2MTRjNzAwZCJ9.0IbfWfj76BX-DuvgHNJt30MnL4UZqpZoo5WFnfsbgfA" class="fr-fic fr-fil fr-dib" width="2017" style="width: 2019px; height: 323.007px;" height="323"></p><p><strong><span style="font-size: 10pt;">Fig 12. Redact Multiple entries at once</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">See all Active PII Detections and the Redaction History</span></strong></p><p>Once PII data flagging is enabled, agents who have the PII Data Access Level permission will have access to the Privacy Centre module.&nbsp;</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijg2MGY3NzE4LThiNTMtNDU5NC1iZTFkLTllY2ZiZWU2ZTE5MSJ9.ErNzTtqyMRdruqsuiqRv8d2jyZDPZQbvWmHItZnEHmI" class="fr-fic fr-fil fr-dib" width="1785" style="width: 1787px; height: 618.929px;" height="619"></p><p><strong><span style="font-size: 10pt;">Fig 13. Privacy Centre Module</span></strong></p><p><br></p><p>Here, you will be able to see every ticket that has flags for potential PII. Clicking into an entry here will show you each field that has been flagged for containing PII for that ticket (the same screen as Figure 8).&nbsp;</p><p><br></p><p>Data can be viewed and redacted from here.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">View History for Redacting and Ignoring</span></strong></p><p>The &quot;Audit Log&quot; tab of the Privacy Centre will show redact/ignore history, an entry will show for each field an agent has redacted/ignored. You will be able to see: &nbsp;</p><ul><li>The date the redaction/ignore took place</li><li>The ID of the Ticket that had PII redacted/ignored</li><li>The Agent who did the reaction/Ignore</li><li>Which Field was redacted/ignored</li></ul><p><br></p><p data-pasted="true"><strong><span style="font-size: 14pt;">What does Redacting Data Do?</span></strong></p><p data-pasted="true">When data it redacted it is removed from your database replaced with the name of the data type that was redacted surrounded by square brackets. For example <a target="_blank" rel="noopener noreferrer noopener noreferrer" href="mailto:Ben.Castle@contoso.com">Ben.Castle@contoso.com</a> -&gt; [EMAIL]. To show data here was redacted and the type of data that was removed.&nbsp;</p><p><br></p><p>To ensure data is fully redacted from the database ensure you redact it from all fields it is flagged to appear in. Redacting it from one field may make it no longer visible when viewing the ticket in the UI, but it may be stored elsewhere in the database so it is important you redact it from all fields.&nbsp;</p><p><br></p><p data-pasted="true">Redacting is irreversible, no one will be able to access the previous value of a field once redacted.&nbsp;</p><p><br></p><p><br></p><p><strong><span style="font-size: 14pt;">Appendix&nbsp;</span></strong></p><p><strong><span style="font-size: 12pt;">Figure A1 - Format required for PII Detection</span></strong></p><p><strong>Email</strong></p><p>- Must contain one &quot;@&quot; sign.</p><p>- Must have at least one character before the @ sign.&nbsp;</p><p>- Must have one or more characters after the @ sign.</p><p>- A dot must be found at least one character after the @ sign, followed by two letters.&nbsp;</p><p><br></p><p>The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b[\w.+\-]+@[\w\-]+(?:\.[\w\-]+)*\.[a-zA-Z]{2,}\b</p><p><br></p><p><strong>Payment Card number</strong></p><p>- Must consist of digits only.</p><p>- Digits can be separated by single spaces or hyphens.</p><p>- Must be between 13 and 19 digits long.</p><p>- The number must pass the Luhn algorithm &mdash; this is a mathematical checksum validation that all legitimate payment card numbers must satisfy. This is what distinguishes a real card number from a random string of digits of the right length</p><p><br></p><p data-pasted="true">The regex expression used to validate this (along with the Luhn algorithm and length check) is:</p><p style="margin-left: 20px;">\b(?:\d[ \-]?){12,18}\d\b</p><p><br></p><p><strong>International Bank Account Number (IBAN)</strong></p><p>- Must start with 2 uppercase letters, followed by 2 digits, followed by letters or digit that are grouped into &#39;blocks&#39; of up to 4 characters each.</p><p>&nbsp; &nbsp; - Blocks can be separated by a single space.</p><p>- There must be between 2 and 7 blocks of exactly 4 characters.</p><p>- Then a final block of 1 to 4 characters.</p><p>- There can be no lowercase letters.</p><p>- The total length must be between 15 and 34 characters.</p><p>- Must pass the MOD-97 checksum algorithm &mdash; this is the mathematical validation used by the IBAN standard to confirm the number is legitimate.</p><p><br></p><p data-pasted="true">The regex expression used to validate this (along with the <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-pasted="true">MOD-97 checksum&nbsp;</span>algorithm and length check) is:</p><p style="margin-left: 20px;">\b[A-Z]{2}\d{2}(?:[ ]?[A-Z0-9]{4}){2,7}(?:[ ]?[A-Z0-9]{1,4})?\b</p><p><br></p><p><strong>US Social Security Number (US SSN)</strong></p><p>- Have the pattern: 3 digits, separator, 2 digits, separator, 4 digits.</p><ul><li>&nbsp; &nbsp; - The separator can be a hyphen or space.</li></ul><p>- The first group of digits cannot be 000, 666 or any number starting with 9.</p><p>- The second group of digits cannot be 00.</p><p>- The third group of digits cannot be all zeros 0000.</p><p><br></p><p data-pasted="true">The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b(?!000|666|9\d\d)\d{3}[-\s](?!00)\d{2}[-\s](?!0000)\d{4}\b</p><p><br></p><p><strong>National Insurance Number (UK)</strong></p><p>- Must follow the pattern: 2 letters, 6 digits, 1 letter.</p><p>- This is case insensitive.</p><p>- The first two letters (prefix) must not be: BG, GB, NK, KN, TN, NT, or ZZ (these are explicitly excluded per HMRC rules as they are not valid NI number prefixes).&nbsp;</p><p>- The first two letters must each be in the ranges: A-C, E, G, H, J-P, R-T, W-Z.&nbsp;</p><p>- The final letter must be: A, B, C, or D.</p><p><br></p><p data-pasted="true">The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b(?!BG|GB|NK|KN|TN|NT|ZZ)[A-CEGHJ-PR-TW-Z]{2}\d{6}[A-D]\b</p><p><br></p><p><strong>Bank Account Number</strong></p><p>- A sort code and account number must be identified within 20 characters of each other.</p><p>- A sort code is identified as: 3 pairs of 2 digits - pairs can be separated by hyphen or space or not separated.</p><p>- An account number is identified as: a number of exactly 8 digits.</p><p><br></p><p data-pasted="true">The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b(\d{2}[-\s]?\d{2}[-\s]?\d{2})\b.{0,20}\b(\d{8})\b</p><p><br></p><p><strong>Driver&#39;s Licence Number (UK)</strong></p><p>- Must have 16 characters in total.</p><p>- The first 5 characters must contain letters a-z OR the digit 0.</p><p>- Characters 6-11 can be any characters.</p><p>- Characters 12-13 must be A-Z OR the digit 9.</p><p>- Character 14 must be a digit.</p><p>- Characters 15-16 must be letters only no digits.</p><p><br></p><p data-pasted="true" style="box-sizing: inherit; margin: 0px; line-height: 1.4285em; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b[A-Z9]{5}\d{6}[A-Z9]{2}\d[A-Z]{2}\b</p><p><br></p><p><strong>IP Address</strong></p><p>- Must have 4 groups of numbers separated by a &quot;.&quot;.</p><p>- Each group must be a number between 0 and 255.</p><p>- Numbers starting with 25 can only end in 0-5.</p><p>- Numbers starting with 2 can only have 0-4 as the second digit.</p><p>OR</p><p>- Must have 8 groups of characters separated by colons.</p><p>- Each group must contain between 1 and 4 hexadecimal characters.</p><p>- Must be full format, shorthand using :: is not recognised&nbsp;</p><p><br></p><p data-pasted="true" style="box-sizing: inherit; margin: 0px; line-height: 1.4285em; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">The regex expression used to validate this is (respectively):</p><p style="margin-left: 20px;">\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\b</p><p style="margin-left: 20px;">OR</p><p style="margin-left: 20px;">\b(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}\b</p><p><br></p><p><strong>Phone Number</strong></p><p>- Must start with (have a prefix of) +44, 44 or 0.&nbsp;</p><p>- Must contain between 9 and 10 digits after the initial prefix.</p><p>- Between each digit there can be a single space, hyphen or dot as a separator.</p><p>- Separators are optional and can be mixed.</p><p><br></p><p data-pasted="true" style="box-sizing: inherit; margin: 0px; line-height: 1.4285em; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">The regex expression used to validate this is:</p><p style="margin-left: 20px;">\b(?:\+?44|0)(?:[\s\-\.]?\d){9,10}\b</p><p><br></p><p><br></p><p><strong>Date of birth</strong></p><p>- The date must be prepended by one of the following strings (case insensitive):</p><ul><li>dob</li><li>date of birth</li><li>born</li><li>born on</li><li>d.o.b&nbsp;</li><li>d.o.b.</li></ul><p>- Colon or hyphen separators are allowed between this string and the date.</p><ul><li>&nbsp;Spaces are also allowed around this separator</li></ul><p>- The date format must follow one of the following formats:</p><ul><li>Day/Month/Year<ul><li>The day and/or month are 1 or 2 digits.</li><li>Separators (space, forward slash, hyphen, or dot) are used between the day month and year.</li><li>The year is 2 or 4 digits.</li></ul></li><li>ISO style (Year/Month/Day):<ul><li>The year is 4 digits&nbsp;</li><li>Separators (space, forward slash, hyphen, or dot) are used between the day month and year.</li><li>The day and/or month are 1 or 2 digits.</li></ul></li></ul><p data-pasted="true" style="box-sizing: inherit; margin: 0px; line-height: 1.4285em; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">The regex expression used to validate this is:</p><p style="margin-left: 20px;">(?:dob|date\s+of\s+birth|born(?:\s+on)?|d\.o\.b\.?)\s*[:\-]?\s*(\d{1,2}[\s/\-\.]\d{1,2}[\s/\-\.]\d{2,4}|\d{4}[\-/]\d{2}[\-/]\d{2})</p><p><br></p><p><br></p><p><br></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.