cancel
Showing results for 
Search instead for 
Did you mean: 

Use of StartsWith with Regix expression

jiyunlee2
Level 2

Hi, Community

We would like to determine if a given string starts with a certain pattern. 

Can anyone let us know how to use RegEx expression in Startswith()?

For instance,  the following didn't work.

If Startswith is not a proper function, is there any alternative to implement this?

26490.png

We would appreciate your help in advance. 

Regards



------------------------------
jiyun lee
------------------------------
1 REPLY 1

Babjee24
Level 7

Hi Jiyun Lee,

StartsWith() is function is used for specific text comparison. For instance StartsWith("Your Text","You") fetches you a True value. In order check the regex you can make use of Utility - Strings --> Test Regex action. Output is a flag which is the result of Regex match.

26486.png

Hope this helps...



------------------------------
Babjee Vangipurapu
Senior RPA Developer
Wonderbotz
India
------------------------------

Babjee Vangipurapu
Senior RPA Developer
India