D
D
DMax9212018-03-07 01:24:35
Regular Expressions
DMax921, 2018-03-07 01:24:35

Regular expression only numbers how to do?

Hello dear friends!
Please help with regular expressions, honestly, now my head will burst, I don’t understand at all how much IQ you need to have to understand them)) I need only six digits
to be selected from the link, I found such a pattern (\d{6}) but it finds 7 or 8 ... digits and first digits are removed)) and it's annoying ... Why do I need this? I'm trying to pull out the links I need from the total number, but since I'm a sheep, I can't understand the joke with regular expressions, and therefore I can't form the correct template. Can one of you, out of the kindness of your heart, help you form the template correctly? Here is the link itself: http://site.ru/281476/national-grid-warns-uks-gas-...

Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2018-03-07
@DMax921

tyts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question