How do we create an OR condition in regex where in it should return true either of the condition is met for example
System.Text.RegularExpressions.Regex.IsMatch(data,"^sampleregexhere1") | System.Text.RegularExpressions.Regex.IsMatch(data,"^sampleregexhere2")
if any of the following is met it should only return 1 value which either true or false. Is that possible ? Thanks