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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Top Solution Authors
Users online (4,711)