using regex to find the id

I want to fill in the text in a “textfield”.
the “id” of the “textfiled” changes dynamically. The id is the “Donors_1233klf323sd_Ti” format. I want the regex to address the dynamic behavior of the ID.
I used regex as in the screenshot. But it is not working.


Your Regex is fine

Report it as a bug – I’ve seen a few Regex problems in KS.

@Russ Thomas thank you for the answer.
Is there a way so that I can address dynamic ID? I’ve gone through all the discussions in the forum but I didn’t get my answer.
Help will be appreciated.

Alternative to Regexp, you can use XPath expression:
You can select a div element with id=“Donors_1233klf323sd_Ti” by the following xpath:

//div[starts-with(@id, "Donors_") and substring(@id, string-length(@id) - string-length('_Ti')+1)="_Ti"]