Substring and filter an array of values from a data source variable

Hi all,
I’m on last version of Grafana 9.3.1 on my docker app in RHES.

I try to substring a variable with a regexp.

My starting values are:

IADFCODE201\I1
IADFCODE202\I1
IADFCODE203\I1
IADFCODE204\I1
IADFCODE201\KR
IADFDULO201

And I would like to get out an array LIKE below.
For my template page in regex101: build, test, and debug regex the result is correct, but from grafana I got no filter e substring like my idea.

For brevity I put here the regexp that I inseted

/^[a-zA-Z0-9]+/gm

This below, is the result that I would like to get.

IADFCODE201
IADFCODE202
IADFCODE203
IADFCODE204
IADFDULO201

Alen