Hi, I want to hide an element on a webpage, but a portion of that changes every time I reload the page. It looks something like this:

example.com##class_123456 > element

The bit with the numbers changes every time. I would like to replace this with a regex to match every numeric string of any length. I tried to figure it out myself but couldn’t get it to work.

Any help is appreciated, thanks :)

  • @ShunkW
    link
    16 months ago

    You should be able to use the pattern below. The \d+ means one or more digits.

    class_\d+