ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

regular expression - match string

raghadaf8
6 - Meteoroid

Hello !

 

I'm trying to get all the match strings in a text using regular expression.

 

for example the text is :

1. Title 1

paragraph 1

2. Title 2 

paragraph  

 

I need to get all the titles (1. Title 1 , 2. Title 2)

 

I have wrote this regular expression : (\d\. )(.)* 

and using this expression I'm getting the first title only. does anyone know how to get all the matches ?

 

12 REPLIES 12
grazitti_sapna
17 - Castor

@raghadaf8, try my second solution as provided.

 

Thanks!

Sapna Gupta
ddiesel
13 - Pulsar
13 - Pulsar

Sample Workflow:

grazitti_sapna
17 - Castor

@raghadaf8,

 

Input:

grazitti_sapna_0-1655793461561.png

 

Output:

 

grazitti_sapna_1-1655793488637.png

 

Thanks!

 

 

Sapna Gupta
Labels
Top Solution Authors