Regular Expression Help
From: Chris Dunaway ("dunawayc[[at]_lunchmeat_sbcglobal[dot]]net")
Date: 10/15/04
- Next message: steve: "Newbie: SQL string construction"
- Previous message: Antoine: "Re: Problem understand code behind"
- Next in thread: Sandor Pakh: "Re: Regular Expression Help"
- Reply: Sandor Pakh: "Re: Regular Expression Help"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 12:51:10 -0500
I need to find all occurrences of a comma in a string EXCEPT where it
occurs between quotation marks.
For Example:
Field1,Field2,Field3,Fiel4,"Lastname, Firstname",Field5, Field6
So I need to find the indexes of the commas except for the one that
separates the last and first name.
I figured a regular expression would be the way to go, but I cannot seem to
figure it out.
Does anyone know of any programs that help you build regular expressions?
Kind of like the wizard that helps you build a connection string? I know
of various RegEx test programs, but I would like one to help me construct
one. I evision a utility that could let me select options using a english
like language, but then builds the regex behind the scenes
Thanks for the help
-- Chris dunawayc[AT]sbcglobal_lunchmeat_[DOT]net To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and replace certain words in my E-Mail address.
- Next message: steve: "Newbie: SQL string construction"
- Previous message: Antoine: "Re: Problem understand code behind"
- Next in thread: Sandor Pakh: "Re: Regular Expression Help"
- Reply: Sandor Pakh: "Re: Regular Expression Help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|