Regex for this content... (please help!)

Hi,
I really need little help about scraping a part of the text, from following page example:

Url: https://www.happii.dk/Printer/Brother-DCP-L2530DW-multifunktionsprinter-SH-Laserprinter-Multifunktion-Monokrom-Laser/2638145

Under the fane "Generelt"

From this part of text:

Detaljer
Producent: Brother
Varenummer: 2638145
Model: DCPL2530DWZW1
Ean: 4977766782784
Til producentens hjemmeside
www.brother.com

I need to scrape text after Ean: 4977766782784
Also only: "4977766782784" (13 numbers)

Is there any regex code as I can use?
I'm not familiar with regex.

Sitemap:
{id:"sitemap code"}

For a 13-digit number, you can use
\b\d{13}\b

If the web address is always on the last line, you can use
www\..+

1 Like

Thank you very much!
I will try it...

Hi Leemeng,
About this case, can you please help with regex for scraping:
Producent: Brother (I need to scrape text "Brother")

On other pages it changes for different brands, with different text length.
Can you please help with this?

try:

(?<=Producent:).+

Hi,
It works fine :slight_smile:
Thank you!

Best regards