Help on regex

Australian Market Report - Australian shares drop for fifth week in past six\n Read\n more\n \n

From above text, I want “Australian shares drop for fifth week in past six” this line.

Hi @sshitol

Hope this helps!!

HI @sshitol

How about this expression?

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\-\s)[a-zA-Z ]+").Tostring

Hello @sshitol
Try this Regex Expression

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=Report\s-\s)[A-Za-z\s\n0-9]+(?=Read)").Tostring

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.