perl -p -i -e 's/hello/hola/g' *.txt
Use \1 et al.
\1
# '@include align-items(center);' => 'align-items: center;' perl -p -i -e "s/\@include (align-items)\((.*)\);/\1: \2;/g"