cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alphadrag
Helper IV
Helper IV

Remove post

removed

1 ACCEPTED SOLUTION

Accepted Solutions
VJR
Super User
Super User

 

Below is a Regular Expression to replace alphabets and spaces.

If you need numbers too then modify the expression.

 

Note that there is a space before the closing bracket.

 

[A-Za-z ]

 

 

VJR_0-1647844362399.png

 

 

Output after replacement

VJR_1-1647844450814.png

 

View solution in original post

4 REPLIES 4
VJR
Super User
Super User

 

Below is a Regular Expression to replace alphabets and spaces.

If you need numbers too then modify the expression.

 

Note that there is a space before the closing bracket.

 

[A-Za-z ]

 

 

VJR_0-1647844362399.png

 

 

Output after replacement

VJR_1-1647844450814.png

 

removed

- Read your excel row by row

- For the first row use the Replace text as suggested above and then write the result back to Excel

- For second row read the text and use the python script as here and then write the replaced value back to Excel.

removed

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,873)