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 Automate / Help building split ex...
Power Automate
Answered

Help building split expression with multiple separators

(0) ShareShare
ReportReport
Posted on by

Hello - I am attempting to build an expression to split a string into an array of strings using bullets as delimiters.  So, for example...

Input:

• Focus on design, conception, implementation, and evaluation of AI/ML software architectures for solutions classified as medical device according to the current state of art and in compliance with the applicable standards and regulations • Manage and schedule work for software development team of multiple complex projects as well as develop, qualify, and maintain suppliers as partner relationships • Drive conception and implementation of the data interfaces internally at Bayer and between Bayer and external partners for the exchange of sensitive health data in compliance with data protection guidelines and Bayer internal compliance standards

Output:

"Focus on design, conception, implementation, and evaluation of AI/ML software architectures for solutions classified as medical device according to the current state of art and in compliance with the applicable standards and regulations ",
"Manage and schedule work for software development team of multiple complex projects as well as develop, qualify, and maintain suppliers as partner relationships ",
"Drive conception and implementation of the data interfaces internally at Bayer and between Bayer and external partners for the exchange of sensitive health data in compliance with data protection guidelines and Bayer internal compliance standards ", 

 

After a review of our source documents, I'm learning that several types of bullets are being used, including o, •, - , *, and others.  

 

My question is - how do I work these multiple separators into an expression?  I used this expression when I thought I only had one delimiter: 

split(outputs('JD_-_Remove_Spacing'),'• '), and it worked great...but now I have multiple delimiters.  I want to split the string no matter what type of bullet is used.  I attempted separating the delimiters with commas like this: split(outputs('JD_-_Remove_Spacing'),'• ', 'o '), but the flow failed.  Any suggestions?
Thanks in Advance! 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jessicadduffey ,

     

    You could replace o, •, - , * with • and then do the split. Please try:

    vbofengmsft_0-1690426222322.png

     

    replace(variables('tapString'),items('Apply_to_each'),'• ')

     

    Best Regards,

    Bof

     

  • jessicadduffey Profile Picture
    on at

    Hi @v-bofeng-msft - at first I was getting an error message, then it worked beautifully after I initialized the variable, created an array with the bullets, then plugged that into the apply to each step.  Thank you!

     
  • jessicadduffey Profile Picture
    on at

    @v-bofeng-msft, I've run into another issue...

    One of our job descriptions has a numbered list instead of a bulleted list (see below):

    1. Lead the Digital Transformation of SCM in Region Americas and foster
    a digital mindset. Review and analyze operative SCM processes and drive
    harmonization, standardization, and automation by applying digital tools
    and development of automated solutions (e.g., RPAs) across
    countries/regions to open opportunities for higher efficiency
    2. Lead SCM operational excellence by ensuring continuous process
    improvements and promoting innovation via enabling technologies with the
    aim to increase operational efficiency and effectiveness. Achieve cost
    savings and quality improvements according to defined targets and
    business cases
    3. Develop and implement global/regional/local tools (e.g., SVT, DVT),
    new demand planning systems and ERP implementations/updates, system
    upgrades, and migrations. Ensure efficient and sustainable execution of
    new established processes and plan and track implementation

     

    Do you have any suggestions on how would I build an expression to replace the numbers with '• '?

    Thanks in advance!

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 Automate

#1
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard