Regex - get everything after the last '.'

Options
I create the metadata of an image ('create image from file'), and I want to get the type of the image. So, in the metadata.path in the picture below I want to run the regex [^.]*$ which would get me e.g. a png string from an image.png string.

How can I implement this?[image.png]
thanks

Comments

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    Regex could do this, but there's a simpler way: I would  do a "split" on "." and then stack another filter, "pop". That will turn image.png into ["image", "png"] (split) and then return the last element, "png" (pop).