Skip to main content

All Questions

0 votes
3 answers
2k views

Regex to match JSON in an HTML

From this JSON-HTML webpage I want to filter out only lines with this pattern: "realname": "SOME_VALUE_COMES_HERE", I tried this: curl https://www.mediawiki.org/w/api.php?action=...
Lahor's user avatar
  • 123
1 vote
1 answer
649 views

How to grep multiple lines?

Grep understands this : curl https://api.coinmarketcap.com/v1/ticker/ | grep "clipper-coin" But not this : curl https://api.coinmarketcap.com/v1/ticker/ | grep "{*clipper-coin*}" The output I ...
pxoto's user avatar
  • 183
4 votes
2 answers
2k views

grab text out of vtt file

vtt files look like this: WEBVTT 1 00:00:00.096 --> 00:00:05.047 you're the four functions if you would of management first of all you have the planning 2 00:00:06.002 --> 00:00:10.079 the ...
AwokeKnowing's user avatar