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
/
.*-> addField\(('\S*').*?, \['type' => new (\S*?)Type.*
/
g
Input 1
-> addField('id' , ['type' => new IntType , 'description' => __('id')]) -> addField('type_mandaat' , ['type' => new StringType , 'description' => __('type mandaat')]) -> addField('bedrag' , ['type' => new BedragType , 'description' => __('bedrag')]) -> addField('datum_expertise_plaatsgevonden' , ['type' => new DateType , 'description' => __('datum van expertise')]) -> addField('datum_ontvangst_rapport' , ['type' => new DateType , 'description' => __('datum van ontvangst rapport')]) -> addField('omschrijving' , ['type' => new StringType , 'description' => __('omschrijving')]) -> addField('wrakwaarde' , ['type' => new BedragType , 'description' => __('wrakwaarde')]) -> addField('forfait' , ['ty
Substitution
\1 => ['type' => '\2'],
-> addField('id' , ['type' => new IntType , 'description' => __('id')]) -> addField('type_mandaat' , ['type' => new StringType , 'description' => __('type mandaat')]) -> addField('bedrag' , ['type' => new BedragType , 'description' => __('bedrag')]) -> addField('datum_expertise_plaatsgevonden' , ['type' => new DateType , 'description' => __('datum van expertise')]) -> addField('datum_ontvangst_rapport' , ['type' => new DateType , 'description' => __('datum van ontvangst rapport')]) -> addField('omschrijving' , ['type' => new StringType , 'description' => __('omschrijving')]) -> addField('wrakwaarde' , ['type' => new BedragType , 'description' => __('wrakwaarde')]) -> addField('forfait' , ['ty