Search found 7 matches

by SZY8XJ
Wed Aug 18, 2010 8:09 pm
Forum: General
Topic: Regular Expression for SSN
Replies: 9
Views: 1586

Perfect - thank you!
by SZY8XJ
Wed Aug 18, 2010 6:08 pm
Forum: General
Topic: Regular Expression for SSN
Replies: 9
Views: 1586

Can anyone extrapolate the answers above into a technique to find all of the SSN's (as discussed above) and add a new line \n character in front of them?

Thanks!
by SZY8XJ
Mon Aug 16, 2010 1:13 pm
Forum: General
Topic: Regular Expression for SSN
Replies: 9
Views: 1586

[0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9] works without the ? after the -
Thanks for everyone's help!
by SZY8XJ
Fri Aug 13, 2010 4:53 pm
Forum: General
Topic: Regular Expression for SSN
Replies: 9
Views: 1586

so...

^[0-9]{3}-?[0-9]{2}-?[0-9]{4}$

doesn't work either - did I get the syntax wrong?
by SZY8XJ
Fri Aug 13, 2010 2:59 pm
Forum: General
Topic: Regular Expression for SSN
Replies: 9
Views: 1586

Regular Expression for SSN

Hello -

I am trying to find all SSN's (nnn-nn-nnnn) and replace them with XSSN (X999-99-9999).
The regular expression I am trying to use to find them is ^\d{3}-?\d{2}-?\d{4}$ and it isn't working.

Can someone tell me what you use successfully?

Many thanks!
steve
by SZY8XJ
Tue Jul 13, 2004 7:07 pm
Forum: General
Topic: Add Carriage Return / Line Feed
Replies: 2
Views: 346

Yes it will - and it is I who was a little slow (actually a little quick in posting).

Thanks for your patience!
by SZY8XJ
Tue Jul 13, 2004 1:52 pm
Forum: General
Topic: Add Carriage Return / Line Feed
Replies: 2
Views: 346

Add Carriage Return / Line Feed

Hello -

I have a file that is one long line that I need to convert to many individual records. I know where to put the CR/LF, but what keystrokes do I use to add that character. I wans to do a global replace to get this done.

Thanks!