Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6707777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:40:47+00:00 2026-05-26T07:40:47+00:00

I am at my wit ends (being a regex novice). I need to split

  • 0

I am at my wit ends (being a regex novice). I need to split a string like this

"abc","","av,as","hello world","nice,name"

into

'abc'
'\blank\'
'av,as'
'hello world'
'nice,name'

Using c# or excel vbs, can someone help with the regex expression?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:40:47+00:00Added an answer on May 26, 2026 at 7:40 am

    Fairly straightforward:

    "(\\.|[^"\\])*"
    

    will work as shown:

    Comma-delimited list of quoted strings

    It will allow escaped quotes and possible whitespace between quotations, and is POSIX compliant, should you ever need that!

    EDIT

    I should probably note that it will basically NOT be possible to get the '\blank\' you specified directly from the regex engine, but would be relatively trivial to get it from code that checks the the length of the match and replaces it if is less than three characters long (as the match will be "" if there was an empty string)

    END EDIT

    Please ask if you would like me to break down the expression!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm at my wit's end with this. Can anyone see anything wrong with this
Alright, I'm at my wit's end on this issue. First, backstory. I'm working on
I can't believe I'm having to ask this, but I'm at my wit's end.
To wit: <table><tr><span><td>Hi</td><td>Again</td></span></tr></table> Is this legitimate HTML?
For now jQuery timepicker component is invoked wit click on input. This is timepicker
Excuse me if this is a sparse question but, I'm somehow confused wit the
I am at my wit's end with this and our CM just, ahem... left
I have something like this: public void Delete(T entity) { Context.DeleteObject(entity); Context.SaveChanges(); } I
I have an xml flow wit h this structure : <TagNames> <TagName id=A1>some text...</TagName>
So I started my coding wit MYSQL and I have a table like following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.