Skip to main content
Community site session details

Community site session details

Session Id : 450p3pW8QHWwyQ/tCbrDkz
Power Automate - General Discussion
Answered

AI Builder: remove special characters

Like (0) ShareShare
ReportReport
Posted on 31 Oct 2022 17:04:27 by 10

I have an AI builder which extracts the information and stores it to an EXCEL sheet. Extracted column values must not have any special characters.

Sane_0-1667234763150.png

I get the above list of Prices after extraction, but how do I get rid of the 'comma'.

 

I understand that this must be handled during the below action, but I'm not able to write an replace expression for PRICE. In expressions, I cannot choose the PRICE value as the PRICE does not come up under dynamic content(Because its a line item.?). Would appreciate members help, or suggest another approach.?

 

Sane_1-1667234780142.png

 

Unable to locate PRICE here

Sane_3-1667235727869.png

 

 

 

 

  • Sane Profile Picture
    10 on 01 Nov 2022 at 06:12:35
    Re: AI Builder: remove special characters

    Thank you. Perfect solution !!!

  • v-bofeng-msft Profile Picture
    on 01 Nov 2022 at 05:45:17
    Re: AI Builder: remove special characters

    Hi @Sane ,

     

    @Gopala_Krishna is right, if it works please consider marking his solution:

     

    Please select 'Expression'

    vbofengmsft_0-1667281432123.png

     

    and input:

     

     

    replace(items('Apply_to_each')?['BARCODE/value'],',','')

     

     

     

    Best Regards,

    Bof

  • Sane Profile Picture
    10 on 01 Nov 2022 at 05:38:03
    Re: AI Builder: remove special characters

    Thanks for responding.

    Tried this, but it throws the error invalid expression.Below is the code in expression

    replace(@{items('Apply_to_each')?['BARCODE/value']},' ','')

  • Verified answer
    Gopala_Krishna Profile Picture
    1,491 on 01 Nov 2022 at 04:51:26
    Re: AI Builder: remove special characters

    @Sane 

    In Power Automate you can double click on the Power Automate dynamic output and do ctrl + c to copy the expression behind the dynamic output.

     

    You can then apply replace around this to achieve the desired output, when you do ctrl+c after selecting dynamic output it will copy the expression that you see when you hover the mouse over the dynamic output.

     

    If the information shared helps you please consider giving a thumbs up and mark solution as resolved

    Please follow my website PowerCards for more information related to Power Platform

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete