Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
([a-zA-Z]+)(?<!default):([a-zA-Z]+)\b(?!\<)
/
gm
Test String
New
foreach (mb:tMapBlock in MapBlockCollList){ foreach (obj:PhysicalObject in Class){ Local List:List<object>; June 29, 2017, 28 12:43 AM � MBListCount:+1; default:m.enabled = !m.enabled;
Substitution
Processing...
$2 $1