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 / Need Help on Text Inpu...
Power Apps
Answered

Need Help on Text Input Pattern Validation for IP Address

(0) ShareShare
ReportReport
Posted on by 22

Hi,

 

I`m trying to set validation for IP Address field, using IsMatch condition but was not able to get the exact output.

looking to validate the IP Address with CIDR like this format IP1/x,IP2/x,IP3/x

example : 172.0.2.1/32,157.123.34.3/24,10.23.2.1/24 etc

allow digit can be anything from 0 -255, i`m unable to do this. can someone here can help on this with IsMatch condition.

 

Thanks for help

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @venuvv,

    Please add a Label and set the Text property as below:

    IsMatch(TextInput10.Text, "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d|3[0-2]")

    vqiaqimsft_0-1644980802367.png

     

  • venuvv Profile Picture
    22 on at

    Thanks a Lot. it did worked

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard