Regular expression ...
 
Notifications
Clear all

Regular expression search

6 Posts
4 Users
0 Reactions
610 Views
sudha
(@sudha)
Trusted Member
Joined: 16 years ago
Posts: 52
Topic starter  

Hi all,

Please let me know the regular expression patterns for SSN, US Phone number which works on FTK2.2 !

For SSN i tried expressions like \<\d\d\d[\- ]\d\d[\- ]\d\d\d\d\> which did not work (

But [0-9]{3}-[0-9]{2}-[0-9]{4} works… plz let me know if there are any other efficient ways to do pattern searching.

Thanks in advance
Sudha


   
Quote
jhup
 jhup
(@jhup)
Noble Member
Joined: 16 years ago
Posts: 1442
 

Try this

^\d{3}-\d{2}-\d{4}$

http//lmgtfy.com/?q=regex+pattern+for+SSN


   
ReplyQuote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

Have you tried the predefined regular expression in FTK?


   
ReplyQuote
sudha
(@sudha)
Trusted Member
Joined: 16 years ago
Posts: 52
Topic starter  

jhup wrote
^\d{3}-\d{2}-\d{4}$

I will try this and let you know. D

BitHead wrote
Have you tried the predefined regular expression in FTK?

I'm not aware of predefined expressions please elaborate on this. ?

Thanks in advance
Sudha


   
ReplyQuote
pronie2121
(@pronie2121)
Estimable Member
Joined: 17 years ago
Posts: 117
 

If you proceed to the live search tab then click on the "pattern" tab to the right of the text input area you will see two arrows " > >" one is black the other is not filled. The black arrow allows you to create your own and gives you an explanation of each expression, the unfilled arrow has numerous pre defined expressions already.

Also on the access data web site in the knowledge base there is various examples for all different types of Regular Expression searches
http//accessdata.com/regex.html


   
ReplyQuote
sudha
(@sudha)
Trusted Member
Joined: 16 years ago
Posts: 52
Topic starter  

pronie2121 wrote
If you proceed to the live search tab then click on the "pattern" tab to the right of the text input area you will see two arrows " > >" one is black the other is not filled. The black arrow allows you to create your own and gives you an explanation of each expression, the unfilled arrow has numerous pre defined expressions already.

Also on the access data web site in the knowledge base there is various examples for all different types of Regular Expression searches
accessdata.com/regex.html

Thanks a lot…. D
It really helped me to solve many things )

Thanks again
Sudha


   
ReplyQuote
Share: