Regex

Reply
Highlighted
L1 Bithead

Regex

Is there any specific regex pattern for Palo Alto ?
i am trying to create a Regex that matches SSN but it doesnt seem to like it.
It either errors out as it should be 7 bytes long or it is invalid.

Highlighted
L4 Transporter

Under Data patterns you can use predefined pattern for CC and SSN numbers.

Highlighted
L1 Bithead

I did that and i am getting a lot of false positive.
That is why i was thinking to do a regex

Highlighted
Community Team Member

Here is an article that shows the regex for Danish SSN:

https://live.paloaltonetworks.com/t5/Management-Articles/RegEx-Pattern-for-Danish-SSN-in-Data-Filter...

 

I hope this helps.

Stay Secure,
Joe
End of line
Highlighted
L1 Bithead

jdelio, i checked that article and and also tested that regex online and it has a feild called subject.
When i try to write a regex without a subject feild it is not accepting 

 

Highlighted
L0 Member

for some reason it needs a 7 digit character in there somewhere

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!