Useful field masks for common formats

I thought I’d start putting together a list of field masks that can be used for common formats. Feel free to add more here if you have some!

For details on how to use field masks, you can refer to this topic:

Field Masks

Email Address

Mask Type: Reg Ex

\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

(Source: http://emailregex.com/ - .Net version)

5 Likes

Eircode (Republic of Ireland Postcode)

Mask Type: Reg Ex

([AC-FHKNPRTV-Y]\d{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}

(Source: https://stackoverflow.com/a/33913550/3399648, https://www.eircode.ie/)

4 Likes