Need to extract only string from quote and comma using regular Expression

Hi Team,

I have one string that string is in this format “epic_xuk”,

Please help how to take only epic_xuk word using regular expression.

I have tried so many regular expression method but i cannot able to extract the word which i needed.

So anyone please help me on this.

Regards
Arun

Hi

Once look at the below link it may be helpful to you

1 Like

Hi Raghu

Thanks for the reply. But the link which you provided is not working.

Please let us know is there any other way to extract that word

Regards
Arun

Hi you can use sed and remove the comma:
echo “epic_xuk,” | grep “epic_xuk” | sed ‘s/,//’

1 Like

Hi Doni,

Thanks for your reply. The solution which you provided is working exactly which i need.

Thank you so much for your help.

Regards
Arunk