Data Read from text file

studio

#1

Can any one help…

i have a one text file which consist email id as well as some other data too, here is one problem i want to read email id from text file apart from other data…


this is the text who has a data please help me

Regards
Bitu Bawankar


#2

@bitubawankar, This one might help you,

Regards,
Dom :slight_smile:


#3

If you want to get just “jslye” try with Substring(0,4)

Regards


#4

Thanks friend Its working


#5

thanks friend


#6

How can we permanent delete text file from specific path please tell


#7

Hi @bitubawankar,

use delete activity to delete the text file.
Properties
Path-> give full path of the text file

Regards,
Arivu


#8

thanks dude


#9

image

image

above steps will read your text file or .json file line by line… if loop arrayrow(i) increase i value… in a loop.
Hope my inputs are useful


#10

thanks


#11

Ienum variable IEnumerable

how can we define this variable


#12

Create variable in the variable tab… variable type you can find as Ienumerable<Match>


#13

please tell which one… i am not able to find this variable


#14

@bitubawankar
System.Collections.Generic->Ienumerable<T>

then select <match>


#15

Iam trying to do but its giving this error


#16

There click ans select Match

System.Text.RegularExpressions.Match


#17

how can i access the email id from ienum bariable,
i am trying but its giving this error
image
i am giving input type as String variable as email
and
pattern value in double inv. comma like
“[a-zA-Z0-9-_.]+@[a-zA-Z.]+”

property of match activity is below


#18

Hi @bitubawankar
emailCollect(0).ToString()

If you have multiple value use for each to get all the data.

Regards,
Arivu


#19

Thanks dude its too fine


#20

Can anyone tell me that why i am getting this exception

when i am trying to send mail to anyone
please help me to resolve that…

Regards,
Bittu Bawankar