In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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