I need a regex to match if anywhere in a sentence there is NOT either < or >. If either < or > are in the string then it must return false.
I am trying to apply negation on regular expression in .Net. It does not work. When string has valid last name reg ex should not match. Fo开发者_JAVA百科r invalid last name it should match. Valid name
How do I say, in regular expressions: Any portion of a string beginning with a capital letter, containing at least one space character, not containing the string
I can use \"Alternation\" in a regular expression to match any occurance of \"cat\" or \"dog\" thusly:
The first character can be anything except an equals sign (=). I made the following regex: [^=]. ab, b2 etc will pass, and =a will not.
I\'m attempting to make a function in PHP that will evaluate a mathematical expression -- including functions such as sin, cos, etc.My approach is to delete all characters in the phrase that开发者_Sta
I was working on creating a regex which will include all patterns except \'time\', \'hour\', \'minute\'
Please expl开发者_高级运维ain why the expression makes sense if it is complicated.If you are actually using grep, you could use the -v option to select only the lines that don\'t match:
I would like to create a regular expression to match every word, whitespace, punctuation and special characters in a string except for specific keywords or phrases. Because I only can modify regex, no
When using the not ^ operator in combination with a back reference, why do I need to use a lazy match? It seems like the not should break the match.