Skip to main content
Nintex Community Menu Bar

How to remove number from a string and keep only text characters

  • February 6, 2020
  • 5 replies
  • 190 views

VijayAntoine
Forum|alt.badge.img+3

Hello,

 

Can you help me how to remove number from a string and keep only characters please ?

 

 

Example : Value "123ABE89"  to "ABE"

 

Or if you have an other skills with calculated value in SharePoint column i am OK too thanks in advance.

 

 

Regards,

 

Vijay Antoine MICK

5 replies

VijayAntoine
Forum|alt.badge.img+3

Hello to all,

 

I want to extract only TEXT char with Regular Expression Extract en remove Numbers

 

Example

 

123ABC  -> ABC

 

 

Regards,


Forum|alt.badge.img+8
  • Novice
  • February 6, 2020

Assuming you want to only remove numbers, you can use D (any non-digit) as regular expression


VijayAntoine
Forum|alt.badge.img+3

Thanks for you reply, I found the solution I use [0-9]+ in my regular expression pattern and it works


luiztux
Forum|alt.badge.img
  • February 6, 2020

Use regex. Maybe this can help you:

Pattern: ([0-9])+

Operation: Replace text

Input text: the value that you can replace, in this case 123ABE89

 

Example:

-> save the result in a new variable

 

6380iD18F179B7BFE53AE.png

 

 


VijayAntoine
Forum|alt.badge.img+3
Thanks luiztux it works