How to get E. 212 below number with find “E. 212 Number” using regex

Thanks
shaik
How to get E. 212 below number with find “E. 212 Number” using regex

Thanks
shaik
Try this:
[A-Z]+\.?\s+\d{3}
System.Text.RegularExpressikns.Regex.Match(Input,"[A-Z]+\.?\s+\d{3}").Value.Trim()
Regards
E. 212 Number not my variable , I have to search that and get below number using regex
thanks
Hi,
How about the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=E\.\s+212\s+Number.*\n).*").Value
Regards,
@Yoichi can you send only regex expression without using variable
Thanks
shaik
Hi,
Do you mean you need the regex pattern?
(?<=E\.\s+212\s+Number.*\n).*
Regards,
yes @Yoichi
thanks
shaik
thank you @Yoichi
thanks
shaik
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.