Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(([a-z_]+)[ ]*:=[ ]*)?'([^']*)'
/
gm
Input 1
1
New
unit Language.EN; interface uses Winapi.Windows, System.SysUtils; type TDummyParent = record private const Languages: array [0 .. 2] of string = ('German', 'English'); public class var a, b, c, d: string; class procedure DummyProcedure; static; end; implementation class procedure TDummyParent.DummyProcedure; begin a := 'string-a'; b := 'string-b'; c := sLineBreak + 'string-d'; d := '1 2 3 ' + '4 5 6 ' + '7 8 9'; end;