Site icon CodeRevolution Support

Regex format

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!
Exit mobile version