Hi Ben
'* doesn´t work for me, it will find '' too.
This (?!')'(?!') doesn´t work it returns no matches.
thx
Björn
"Ben Voigt" <rb*@nospam.nospam> schrieb im Newsbeitrag
news:Oe**************@TK2MSFTNGP03.phx.gbl...
"Björn" <pr********@gmx.net> wrote in message
news:uv**************@TK2MSFTNGP02.phx.gbl... Hello
I need some help using regular expresions.
I need an expresion to find a single ' in a string. The problem, in the
string multiple ' are valid
Example:
My'Test''String'''Test
Only the ' between my and test is invalid.
Can anyone help me?
negative lookahead:
(?!')'(?!')
or match a greedy '* and check the result for length 1
thx
Björn