c# - RegEx help matching operators -


I need to match some operators: =,! =,>, & Lt;, & lt; =,> = String I match may be something like this: "2 = 2 or 33> = 32 and 3

What can be the RegEx expression to match it, By knowing that - I do not want to receive one '=' on a '& lt; = 'Operator - can not be operator or surrounding location

Thanks in advance thanks! Alex

Try it out:

  (& lt; = | & Gt; = | | = | = | & gt; | & lt;)  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -