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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Solution Authors
Top Kudoed Authors
Users online (1,981)