Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove first part in an import with regex?

Johannes Buverud
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2018

In the doc it says:

  • Extract only first word of text
    (\w*)\W
    "Blue whale" becomes "Blue"

https://documentation.riada.se/insight/latest/insight-manager-s-guide/import-and-synchronization/general-import-concepts

 

I want something similar. The data locator is on the format characters-backslash-characters, e.g. "TEST\Donald".

I want to remove the first word and the backslash, leaving only "Donald" in this eksample.

I tried several expressions without success, any suggestions?

1 answer

1 accepted

0 votes
Answer accepted
Johannes Buverud
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2018

I got this from Riada support that works:

\\(\w*)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events