- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-03-2015 01:01 PM
Customer implementing the following Regex for Data Patterns and is getting syntax error.
(0[1-9]|1[012])\-(0[1-9]|[12][0-9]|3[01]\-(19|20)\d\d
Need help to get the correct regex pattern.
06-03-2015 05:55 PM
The syntax error is due to missing ')' right parenthesis.
The following pattern doesn't cause the syntax error, however, still hits the 7 bytes limitation.
(0[1-9]|1[012])\-(0[1-9]|[12][0-9]|3[01])\-(19|20)\d\d
There should be a continuous 7 byte string.
Reference:
https://live.paloaltonetworks.com/message/46161#46161
- Yasu
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!