Regular expression validator

Hello,
I want regex Which can match only Total(SPACE) or total. or TOTAL:
all of there may contain space, colon or dot but should not match the Total Due:

^Total:|^Total$|^TOTAL |^total$\$\s[0-9\s]

Here is my regex which can also match total Due

1 Like

Total|TOTAL

@Pradeep_Shiv Try it in https://regex101.com/

2 Likes

but it is not fix that Total have space it maybe Total contain : also so their no fix format for total

https://regex101.com/r/OTSha3/2 check this

2 Likes

it’ll work
total after anything : or . or space or any character it’ll take use this

(Total|TOTAL|total)(.|\s|:)
@Aarti_Godhasara

hi, it will work in regex tester but not in uipath is match activity.

can you share the screen shot??

image

Total_Match is var of Is match activity with can true

remove ^

and change literal to advanced!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.