vb.net - regex for replacing only double apostrophes -



vb.net - regex for replacing only double apostrophes -

i searched , not find answer.

i need replace non-double apostrophes single apostrophe.

abc'def''ghi'x -> abc''def''hgi''x ''abc'def' -> ''abc''def'' 'abc''def -> ''abc''def

i dont want this:

abc''def -> abc''''def

all of solutions i've seen fail if apostrophe @ start or @ end. utilize vbnet. help welcome. regex or other form of code appreciated.

a simple regex (?<!')'(?!')

regex vb.net str-replace

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -