Question: IN JAVA Write a regular expression that selects lines containing a social security number (either in pure nine digit form, ddddddddd, or broken up with

IN JAVA

Write a regular expression that selects lines containing a social security number (either in pure nine digit form, ddddddddd, or broken up with hyphens in the standard way: ddd-dd-dddd) For this exercise you must surround your solution with double quotes.

Must take both 123456789 and 123-45-6789. Must be 9 digits.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!