Forum Discussion
ee
Oct 02, 2024Cirrus
F5 Data Guard - Expose last 4 digits for Custom Pattern
Hi, as from the screenshot below, we are able to choose to expose the last 4 digits for credit card numbers and U.S. Social Security Numbers. How about if we want to expose the last 4 digits for the ...
Aswin_mk
Oct 02, 2024Cumulonimbus
can u try below pcre patterns ^[6-9]\d{9}$ - for mob num(indian) - like you can configure where you are(which country you need
Here’s how the pattern breaks down:
- ^: Anchors the match to the start of the string.
- [6-9]: The first digit must be between 6 and 9.
- \d{9}: The next 9 characters must be digits.
- $: Anchors the match to the end of the string.
for email i think it will work - (?:[^\w]|^)([a-z0-9+_\-\.]+[^\.]@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?)(?:[^\w]|$)
please test it in a test policy
BR
Aswin
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects