Get Particular string from total text
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-03-18 11:23 AM
Hi Team,
I have Text like below
Name: Dr.John Smith
California,AD,
200 Atlanta.
Tel:001-000000000 Fax: 202-010000000.
From the above text i need to extract First line of the string and 3rd line of the string. I need to get below output.
Dr.John Smith is store it in one data item
and 200 Atlanta need to store it in other data item.
Any one can you please help me on this i need bit urgent. I was strucking in middle of the development.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-03-18 12:45 PM
Hello,
If the structure of the text is always the same so the easiest way is to use Utility - Strings and just split lines.
Another way is to use regular expressions.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-03-18 03:11 AM
Search about Regex in Utility-Strings.
