WARNING

Resource: Property, Field : PublicRemarks

Description

A warning message will appear if PublicRemarks contain URLs, lock box access codes, any child or elderly information, vacancy related information, occupant schedule or open house information.

Error Messages

1) WARNING, 'public remarks' field must not contain any phone numbers, a phone number was detected.
2) WARNING, 'public remarks' field must not contain any email addresses, a email address was detected.
3) WARNING, 'public remarks' field must not contain any URLs, a URL was detected.
4) WARNING, 'public remarks' field must not contain any lock box access codes, a possible access code was detected.
5) WARNING, 'public remarks' field must not contain any child or elderly information, possible private information was detected.
6) WARNING, 'public remarks' field must not contain any vacancy related information, vacancy related information was detected.
7) WARNING, 'public remarks' field must not contain any occupant schedule related information, possible schedule related information detected.
8) WARNING, 'public remarks' field must not contain any occupant personal information, possible personal information was detected.
9) WARNING, 'public remarks' field must not contain any open house information, possible open house information was detected.

Fields referenced within this rule

PublicRemarks 

Syntax with comments and error messages

//[WarningMsg1^WARNING, 'public remarks' field must not contain any phone numbers, a phone number was detected.|LogicBlk1^TRUE]
//[WarningMsg2^WARNING, 'public remarks' field must not contain any email addresses, a email address was detected.|LogicBlk2^TRUE]
//[WarningMsg3^WARNING, 'public remarks' field must not contain any URLs, a URL was detected.|LogicBlk3^TRUE]
//[WarningMsg4^WARNING, 'public remarks' field must not contain any lock box access codes, a possible access code was detected.|LogicBlk4^TRUE]
//[WarningMsg5^WARNING, 'public remarks' field must not contain any child or elderly information, possible private information was detected.|LogicBlk5^TRUE]
//[WarningMsg6^WARNING, 'public remarks' field must not contain any vacancy related information, vacancy related information was detected.|LogicBlk6^TRUE]
//[WarningMsg7^WARNING, 'public remarks' field must not contain any occupant schedule related information, possible schedule related information detected.|LogicBlk7^TRUE]
//[WarningMsg8^WARNING, 'public remarks' field must not contain any occupant personal information, possible personal information was detected.|LogicBlk8^TRUE]
//[WarningMsg9^WARNING, 'public remarks' field must not contain any open house information, possible open house information was detected.|LogicBlk9^TRUE]
// Ensure no Phone numbers
(/*[LogicBlk1]*/MATCH('[2-9]\d{2}[^0-9]\d{3}[^0-9]\d{4}|[(][2-9]\d{2}[)].\d{3}.\d{4}|[(][2-9][)]\d{2}[^0-9][a-zA-Z]{3}[^0-9][a-zA-Z]{4}|[(][2-9]\d{2}[)].?\d{7}',.ENTRY.)).OR.
// Ensure no Email
(/*[LogicBlk2]*/MATCH('((\""[^\""\f\n\r\t\v\b]+\"")|([\w\!\#\$\%\&\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))',.ENTRY.)).OR.
// Ensure no URL's
(/*[LogicBlk3]*/MATCH('([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+(com|edu|gov|mil|net|org|biz|info|name|museum|us|ca|uk)[^a-zA-Z0-9]',.ENTRY.)).OR.
// Ensure no Access Codes or Information
(/*[LogicBlk4]*/MATCH('((?,.ENTRY.)).OR.
// Ensure no Children, Elderly, or Disabled information
(/*[LogicBlk5]*/MATCH('(baby)|(kid(?!s))|(children(?!s))|(daughter)|(son)|(toddler)|(daycare|day care)|(pregnant)|(expecting)|(sitter)|(elderly)|(hearing)|(deaf)|(blind(?!s))|(impaired)|(disabled)|(wheelchair)|((?,.ENTRY.)).OR.
// Ensure no Vacant indication
(/*[LogicBlk6]*/MATCH('(?,.ENTRY.)).OR.
// Ensure no Occupant Schedule information
(/*[LogicBlk7]*/MATCH('(sleep)|((?,.ENTRY.)).OR.
// Ensure no Occupant Status or Personal Information
(/*[LogicBlk8]*/MATCH('(divorce)|(?,.ENTRY.)).OR.
// Ensure no Open House information
(/*[LogicBlk9]*/MATCH('open( +| ?)house',.ENTRY.))

Syntax only

(MATCH('[2-9]\d{2}[^0-9]\d{3}[^0-9]\d{4}|[(][2-9]\d{2}[)].\d{3}.\d{4}|[(][2-9][)]\d{2}[^0-9][a-zA-Z]{3}[^0-9][a-zA-Z]{4}|[(][2-9]\d{2}[)].?\d{7}',.ENTRY.)).OR.(MATCH('((\""[^\""\f\n\r\t\v\b]+\"")|([\w\!\#\$\%\&\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))',.ENTRY.)).OR.(MATCH('([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+(com|edu|gov|mil|net|org|biz|info|name|museum|us|ca|uk)[^a-zA-Z0-9]',.ENTRY.)).OR.(MATCH('((?,.ENTRY.)).OR.(MATCH('(baby)|(kid(?!s))|(children(?!s))|(daughter)|(son)|(toddler)|(daycare|day care)|(pregnant)|(expecting)|(sitter)|(elderly)|(hearing)|(deaf)|(blind(?!s))|(impaired)|(disabled)|(wheelchair)|((?,.ENTRY.)).OR.(MATCH('(?,.ENTRY.)).OR.(MATCH('(sleep)|((?,.ENTRY.)).OR.(MATCH('(divorce)|(?,.ENTRY.)).OR.(MATCH('open( +| ?)house',.ENTRY.))

Rule Unique ID

dd5cee5f-be47-48cd-9691-f042ddbfc824

Rule Number

177