I need to extract a part of text

HI, please i need help with this, a need to remove a part of text, this it`s the text:

MAYO\ALEJANDRO GARATE HENRIQUEZ INTERNACIONAL

i need to take only te full name of the person, obviously the name of the month will change constantly, so I need to omit the month and the symbol "" for each row.

Muchas Gracias :slight_smile:

1 Like

so which string you need from here buddy
MAYO*ALEJANDRO GARATE HENRIQUEZ INTERNACIONAL*
you mean only the highlighted

if so you can get by this
intext = “MAYO\ALEJANDRO GARATE HENRIQUEZ INTERNACIONAL”
out_text = split(intext,“\”)(1).ToString
which would give us the term ALEJANDRO GARATE HENRIQUEZ INTERNACIONAL
Kindly correct me if you need any other data
Cheers @Renenobal

2 Likes

Can you post the full text that you mentioned with date and symbols

1 Like

@Renenobal you can use Regex to omit the Date and Symbols. Below is the expression.

Regex.IsMatch(input, @"^[a-zA-Z]+$")

It will return only Text.

TanQ,
Michael Udhaya

2 Likes

Thank you so much, It was super easy and fast, very grateful for your help

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.