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
"
_inherit = 'res\.partner'(?s:.*?)unique_code.*
"
gm
Test String
New
_inherit = 'res.partner' parent_company = fields.Many2one('res.partner', 'Parent Company') unique_code = fields.Char(string='Unique client code', readonly="1",copy=False, index=True)
Extraction
Processing...