Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NPQTbq4i0aW0PzJUuN/NWJ
Power Apps - Building Power Apps
Answered

Need Help on Text Input Pattern Validation for IP Address

Like (0) ShareShare
ReportReport
Posted on 14 Feb 2022 06:17:22 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

  • venuvv Profile Picture
    22 on 16 Feb 2022 at 03:41:57
    Re: Need Help on Text Input Pattern Validation for IP Address

    Thanks a Lot. it did worked

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 16 Feb 2022 at 03:14:12
    Re: Need Help on Text Input Pattern Validation for IP Address

    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

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 104

#3
stampcoin Profile Picture

stampcoin 80

Overall leaderboard
Loading started