HOW to pick full address using regex

PROPERTY ADDRESS:aaa
CITY:kkk
COUNTRY:mmm

Fine
may i know what output we expect here
Cheers @vivekktr

1 Like

Hi @vivekktr

Check this

(?<=PROPERTY ADDRESS:).*
(?<=CITY:).*
(?<=COUNTRY:).*

Thanks
Ashwin S

You could use the regex :(.*) to get every token after “:”.

I would simply take the scraped text and split by newline and split those by “:”.

/Rasmus

my out put may aaa
kkk
mmm

@vivekktr

Assign below code in foreach

system.Text.RegularExpressions.Regex.Matches(yourinputstring,"(?<=:).*")Main.xaml (6.0 KB)