Hot answers tagged vim
grep -oP '(?<="title":").*?(?=")' <INPUT_FILE> Explanation grep -oP: Use grep, printing only matches -o using Perl syntax -p. (?<="title":"): Perl lookbehind. Match a string that has "title":" before it. .*?: The actual part to match (and print). Match a "non-greedy" amount of characters before the lookahead (next). (?="): Perl lookahead. ...
Only top voted, non community-wiki answers of a minimum length are eligible