cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Regular expressions

Jump to solution

Hi, I'm new to using regular expressions. Can anyone suggest a regular expression I can use to extract the numbers from the following: 7;#Gender;#3;#Location eg. 7, 3

Labels: (1)
0 Kudos
Reply
1 Reply
Workflow Hero

Re: Regular expressions

Jump to solution

If your input is 7;#Gender;3;#Location

 

You could use the function named "replace", using the regular expression (;[a-z])\w+  and replace it with and empty string ""

 

I have created a sample here >>> RegExr: Learn, Build, & Test RegEx

 

Remember to experiment your regular expressions on regexr.com

0 Kudos
Reply