Skip to main content
Question

Need help to find Text from long sentence

  • November 7, 2019
  • 6 replies
  • 15 views

I have an Excel Sheet where I need to find Arabic Words and separate them.

For example, I have data like this:

//olyservice/GIS-TANSIQ01/Storage/46-????? ????? ???? -????? ??????/???? ????? ??????? ??????????????? ???????? ????????.rar

//olyservice/GIS-TANSIQ01/Storage/111-????? ?????? ??????? -/Layers.zip

 //olyservice/GIS-TANSIQ01/Storage/100-????? ????? ???? -/????? ????? ???????? ??????? ?????????? ???? ????? ???? - ????????.rar


I'm looking for:

  • 1st column: ????? ????? ????
  • 2nd column: ????? ??????
  • 3rd column: RAR

If there is no ????? and ????? words, the columns should be blank.

Is there any transformtion and formula which i can to get the information ??

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • November 7, 2019

Hi @skorpionaa

Could you share your source xls?

 

Thanks,

Danilo


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • November 7, 2019

I suggest you to use the transformer StringSearcher for find Text.


  • Author
  • 2 replies
  • November 7, 2019

  • Author
  • 2 replies
  • November 7, 2019

I cant figure out Please help me out ion this


jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • November 12, 2019

Hi @skorpionaa,

Have you tried using an AttributeSplitter or SubstringExtractor? Along with Danilo's suggestion on the StringSearcher, these are good string manipulating transformerts to start with.

For example, grabbing the .rar or ,zip, you could use the AttributeSplitter to split on the '.' as a delimiter. Please give these transformers a try and let us know how it goes for you. If you get stuck, please feel free to share your workspace so far and we can try to get you back on track (:


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • November 12, 2019

I'm not 100% clear on the requirements, but if you want to pick out the strings of Arabic words that are separated by hyphens (-) or forward slash (/) you could use regex in a string searcher

([\p{Arabic}\s]+)

This would return a list which you could then rename to attributes as necessary