Crop string from stat panel

I’ve created a Stat panel which displays a list of files coming from Zabbix.
My panel is configure like so:

  "type": "stat",
  "title": "File",
  "transformations": [],
  "datasource": {
    "uid": "EHktl5p4z",
    "type": "alexanderzobnin-zabbix-datasource"
  "pluginVersion": "9.3.2",
  "description": "",
  "fieldConfig": {
    "defaults": {
      "mappings": [],
      "thresholds": {
        "mode": "absolute",
        "steps": [
            "color": "dark-blue",
            "value": null
      "color": {
        "fixedColor": "dark-blue",
        "mode": "fixed"
      "noValue": "FILE NOT AVAILABLE",
      "unit": "string"
    "overrides": []
  "options": {
    "reduceOptions": {
      "values": true,
      "calcs": [
      "fields": "/^Last value$/"
    "orientation": "horizontal",
    "textMode": "value",
    "colorMode": "background",
    "graphMode": "none",
    "justifyMode": "center"

Every file has a timestamp in the name itself.

I wanted to remove that timestamp from the file name, but could not find a filter to do so.
Any idea?

I’ve tried “Rename by regex” transformation, but it did not change anything.

Got it!
Using the “Text filter” and “Use capture groups” from the query itself, I was able to filter the data.

Now, I need to sort the names.

Any idea?

I’ve managed to sort the file names using the “Sort by” transformation.