I want to write a regex that matches either:

insert #TempTable

or

update #TempTable

How do I do it? I guess an imperfect way to go about it would be:

[insertupda]{6} #TempTable

While this does work in my situation, i want to know the right way to do this.

Thanks :)

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted
(insert|update) #TempTable
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.