Regular expression help

Posted by dmr on Stack Overflow See other posts from Stack Overflow or by dmr
Published on 2010-03-17T20:19:04Z Indexed on 2010/03/17 20:21 UTC
Read the original article Hit count: 128

Filed under:

I need to do a find and replace in Notepad of

Err.Number, canBeAnything, canBeAnything, Err.Description

(where canBeAnything is just what it says)
with

Err.Number, "canBeAnything", "canBeAnything", Err.Description

(basically, put quotes around canBeAnything)
I got as far as the find

Err.Number, .+, .+, Err.Description

But I'm stuck on the replace. Any suggestions?

© Stack Overflow or respective owner

Related posts about regex