Regex for string replace in C#

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2014-08-21T10:06:16Z Indexed on 2014/08/21 10:20 UTC
Read the original article Hit count: 376

Filed under:
|

I am trying to achieve below output using regex but not able to, can someone please correct the regex -

input string :

data-placeholder=""[Refer" to "Conditions To Entry Of The Confirmation Order" and "Conditions To Effective Date" sections]"

output string :

data-placeholder="[Refer to Conditions To Entry Of The Confirmation Order and Conditions To Effective Date sections]"

regex tried

\s*"\s*([^ "]+)"\s*(?=["])

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex