How to make a regex to capture text without numbers?

Good afternoon friends;

I’m making a regex to capture text without numbers:

failed regex:
(?<=AGENDA)(.)(.\D)

data:
AGENDA TRE. AVEJAS 1
AGENDA TRE ST 1

Expected result

TRE. AVEJAS
TRE ST

But in the capture, I see that it took a digit in the first line

1 Like

Hey @Lynx

Kindly try the below.

(?<=AGENDA)(\D*)

Thanks
#nK

1 Like

Thanks you @Nithinkrishna :slight_smile:

1 Like

Cool buddy @Lynx :slightly_smiling_face::+1:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.