Answer the question
In order to leave comments, you need to log in
How to output a substring after a certain word from character to character?
Tell me please.
you need to use perl in the text file 1.txt to find the word perl and output everything after it from the character " to the character : in another file
, not including these characters
Answer the question
In order to leave comments, you need to log in
If there is no line break between " and : then something like:
$_=~ /perl\"(.*)?:/ ;
print $1;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question