Skip to main content
Solved

how to separate having numerical value in street name?

  • January 27, 2020
  • 4 replies
  • 38 views

tomjerry.vl
Forum|alt.badge.img

Only identify indicated yellow color values is possible or not

NameIdentifyvenkat 25 rockvenkat 25 rockwinner 564 bufferwinner 564 bufferlock 57 fuzzylock 57 fuzzylime roadlime roadfantasy streetfantasy streetvennila roadvennila roadram nagar 56ram nagar 56ganga temple 90 ganga temple 90 suri nagar 45 suri nagar 45

Best answer by takashi

A Tester with this setting routes features having name containing one or more number characters to the Passed port.

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.

4 replies

takashi
Celebrity
  • Best Answer
  • January 27, 2020

A Tester with this setting routes features having name containing one or more number characters to the Passed port.


bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • January 27, 2020

An alternative is that you can also use StringSearcher.   This both tests the condition and extracts the substring.

Setting the Regular Expression similarly to how @takashi has it will get the answer:

Contains Regular Expression = \d+

Will get any numeric sequences of characters and output the number as the "Matched" attribute

Contains Regular Expression = \b\d+\b

Will get any numeric sequences of characters, but only those that are bound by a word boundary like a space character and output the number as the "Matched" attribute.


tomjerry.vl
Forum|alt.badge.img
  • Author
  • January 27, 2020

TQ it's working


tomjerry.vl
Forum|alt.badge.img
  • Author
  • January 27, 2020

A Tester with this setting routes features having name containing one or more number characters to the Passed port.

it's working