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
/
type1 (\$atom:C\d \$atom:C\d)
/
gm
Input 1
1
New
$bond:id1 @bond:type1 $atom:C1 $atom:C2 $bond:id2 @bond:type1 $atom:C1 $atom:C3 $bond:id3 @bond:type1 $atom:C1 $atom:H1 $bond:id4 @bond:type1 $atom:C1 $atom:H2 $bond:id5 @bond:type1 $atom:C2 $atom:N1 $bond:id6 @bond:type1 $atom:C2 $atom:H4 $bond:id7 @bond:type1 $atom:C2 $atom:H3 $bond:id8 @bond:type1 $atom:C3 $atom:O1
Extraction
$bond:id1 @bond:type1 $atom:C1 $atom:C2 $bond:id2 @bond:type1 $atom:C1 $atom:C3 $bond:id3 @bond:type1 $atom:C1 $atom:H1 $bond:id4 @bond:type1 $atom:C1 $atom:H2 $bond:id5 @bond:type1 $atom:C2 $atom:N1 $bond:id6 @bond:type1 $atom:C2 $atom:H4 $bond:id7 @bond:type1 $atom:C2 $atom:H3 $bond:id8 @bond:type1 $atom:C3 $atom:O1