B
B
B212016-02-23 12:20:52
PHP
B21, 2016-02-23 12:20:52

How to display text from a txt file that is between certain words?

There is a simple textbook, it contains quite a lot of information, but I'm only interested in one line (the location is random), the text is also random, any combination can occur, the line looks like this: HH ID: 2A 61 AF 1J
next line PAQQ
How to display this data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-02-23
@B21

/^HH\sID\:\s(.*?)$/g

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question