web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ismatch with regular e...
Power Apps
Unanswered

ismatch with regular expression

(0) ShareShare
ReportReport
Posted on by 8

Hello, I hope you can help me, I am trying to validate a string, so that it complies with a format.

 

3HGRZ123456789102|CIVIC|HONDA|2023|WHITE|PARKING LOT|559000|615000|CITY

 

the string enters through a QR scanner, and then assigns the values to various labels, what I require is that when the string does not comply with the format, it sends a message saying that it does not comply with the format and return to the main page.

 

try this but it doesn't validate the string

 

 

Set(valor;IsMatch("3HGRZ123456789102|CIVIC";"^[a-zA-Z0-9\-\s\.]\|[a-zA-Z0-9\-\s\.]*$"))

 

 

I assign the value to a label to know if it really does the validation but until now it only sends false

 

Thanks for your help!

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    What is the format you would like to match, and what parts are you worried will not and need to check for

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard