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
Get step-by-step solutions from verified subject matter experts
