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 Automate
Answered

Parse a list

(0) ShareShare
ReportReport
Posted on by 22

I have a list made from %Exceldata% Read from a column. The worksheet is an output file from a Python script. The list should only contain numbers but may contain alphabet letters. The letters could be any one of thousands of names so it is not possible to specify letter(s). The purpose is to be warned if a name occurs in the list. Parse allows regular expresions and the expression "/^[a-zA-Z ]*$/" matches any alphbet letter or space. When I run the Parse Action on a List (or Exceldata) that includes a name the Parse variables %Positions% and %Matches% aren't produced.

Can anyone help me? Suggest a remedy or another method to find if any name(s) exist in a list? 

this is a sample list

GJH_0-1665341743308.png

 

     

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Check with ^[0-9]+$

     

    If it returns -1 then it contains something other than a number

    VJR_1-1665371694749.png

     

     

    If it finds a match and returns a position (starts with 0) then it contains only number.

    VJR_2-1665371743371.png

     

    Test it with all possible scenarios as per your requirements.

     

  • GJH Profile Picture
    22 on at

    VJR

    Thanks. I'll try

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard