Regular Expresion
C#
2
Posts
1
Posters
0
Views
1
Watching
-
-
Hi, I have below string sequence:
'John' , 'Joe' , 'Al''ex' , 'Philip' , 'Ja,coup' , 'Dan'
and I want to define quote separated names same as below:
'John'
'Joe'
'Al''ex'
'Philip'
'Ja,coup'
'Dan'Can I do it using Match and Regular Expression? Mehdi
Let me to made some changes in problem. I want to match quoted strings, using \' as an escape to place quotes in the string.
Valid strings:
'Alex'
'John\' Burg'
'\''
Invalid strings:
'test\'
'not'Valid'Is it possible to define a Regular Expression to this situation? Mehdi