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
r"
^input\s+(?:\[[^\]]*\]\s+)?(.+);
"
gm
Input 1
module(a,b,c,d, vbg `ifdef USE_GOOD_PIN , vb, vc, vd, vg ..... some more input and outputs `endif ); input [7:0] t_d; input srd; output comb; output src; inout [1:0] Iout; output a_in; output b_in; input ff_parity;
Substitution
module(a,b,c,d, vbg `ifdef USE_GOOD_PIN , vb, vc, vd, vg ..... some more input and outputs `endif ); input [7:0] t_d; input srd; output comb; output src; inout [1:0] Iout; output a_in; output b_in; input ff_parity;