Regex format

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by Szabi – CodeRevolution.

Viewing 3 reply threads
  • Author
    Posts
    • #338


      mackerson
      Participant
      Post count: 1

      I’m trying to scrape a page to create a bunch of posts. On the page, there is a list, each list item has a div inside of it with the classes “styled-components__FadeinWrapper-sc-45yec-28 bzaYOr”. The hashes on the end of these classes change regularly, so I want to use a regex to identify the part that doesn’t change. I’ve tried:

      /.*styled-components__FadeinWrapper.*/g

      and

      .*styled-components__FadeinWrapper.*

      Both of those work in my regex tester, but don’t seem to work in the plugin. Any advice as to how I should format this?

      Thank you!

    • #339


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      Can you send me, please, the URL where I can find this class, so I can give it a test on my local test server?
      If you wish, you can also send it in private, to my email address kisded@yahoo.com

      Regards,
      Szabi – CodeRevolution.

    • #340


      mackerson
      Participant
      Post count: 1

      Url sent via email! Thanks for your help on this.

    • #341


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Responded.

      Regards.

Viewing 3 reply threads

The topic ‘Regex format’ is closed to new replies.