Skip to main content
Solved

Help creating an expression with StringSearcher transformer.

  • September 13, 2021
  • 3 replies
  • 37 views

Hello, I'm trying to extract a number out of my comments column. I'm not sure how to write the expression? or if I'm using the right transformer? I'm still new with FME.

 

The number I am trying to extract is 8 digits and is put in comment field with this format "/ 12345678 /" an example of the format is below.

 

VB BLVD / 59208085 / L06-514 / ATT 8547

 

Is there a way to extract this number?

 

Thank you!

Best answer by danilo_fme

Hi @egeiser​ 

 

I created your case:

 

String 

Attached the Workspace.

 

Thanks in Advance,

 

Danilo

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.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • Best Answer
  • September 13, 2021

Hi @egeiser​ 

 

I created your case:

 

String 

Attached the Workspace.

 

Thanks in Advance,

 

Danilo


  • Author
  • 1 reply
  • September 13, 2021

Hi @egeiser​ 

 

I created your case:

 

String 

Attached the Workspace.

 

Thanks in Advance,

 

Danilo

This worked! Thanks!


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • September 13, 2021

This worked! Thanks!

Awesome! I'm happy to help you!