Notifications
Announcements
Hello
I am currently creating a flow in power automate.
Is there a way to remove unwanted character in a string
String : 0586-63- 1360
I want to remove the first 0, - and the space
Exact output : 586631360
Thanks
Hi @GPT2 ,
You can write a compose expression like this example:
replace(replace(substring(triggerBody()?['subject'], 1), '-', ''), ' ', '')
In my example - I am using the text as if it were in the subject but replace triggerBody()?['subject'] with the dynamic content of your data.
@trice602 ,it is now working.thank you very much.
Very nice to hear this morning @GPT2 !
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional