Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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