Global web icon
stackoverflow.com
https://stackoverflow.com/questions/2078915/a-regu…
A regular expression to exclude a word/string - Stack Overflow
I have a regular expression as follows: ^/[a-z0-9]+$ This matches strings such as /hello or /hello123. However, I would like it to exclude a couple of string values such as /ignoreme and /ignoreme...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/611883/regex-h…
Regex - how to match everything except a particular pattern
How do I write a regex to match any string that doesn't meet a particular pattern? I'm faced with a situation where I have to match an (A and ~B) pattern.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/201323/how-can…
How can I validate an email address using a regular expression?
Over the years I have slowly developed a regular expression that validates most email addresses correctly, assuming they don't use an IP address as the server part. I use it in several PHP programs...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/5516119/regula…
regex - Regular expression to match characters at beginning of line ...
Regex symbol to match at beginning of a line: ^ Add the string you're searching for (CTR) to the regex like this: ^CTR Example: regex That should be enough! However, if you need to get the text from the whole line in your language of choice, add a "match anything" pattern .*: ^CTR.* Example: more regex If you want to get crazy, use the end of ...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/136505/searchi…
Searching for UUIDs in text with regex - Stack Overflow
I'm searching for UUIDs in blocks of text using a regex. Currently I'm relying on the assumption that all UUIDs will follow a patttern of 8-4-4-4-12 hexadecimal digits. Can anyone think of a use c...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/2404010/match-…
regex - Match everything except for specified strings - Stack Overflow
I know that the following regex will match "red", "green", or "blue". red|green|blue Is there a straightforward way of making it match everything except several specified strings?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/9655164/regex-…
Regex: ignore case sensitivity - Stack Overflow
How can I make the following regex ignore case sensitivity? It should match all the correct characters but ignore whether they are lower or uppercase. G[a-b].*
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/18057962/regex…
Regex pattern including all special characters - Stack Overflow
35 That's because your pattern contains a .-^ which is all characters between and including . and ^, which included digits and several other characters as shown below: If by special characters, you mean punctuation and symbols use:
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/1687620/regex-…
Regex: match everything but a specific pattern - Stack Overflow
I need a regular expression able to match everything but a string starting with a specific pattern (specifically index.php and what follows, like index.php?id=2342343).
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/2503413/regula…
regex - Regular expression to stop at first match - Stack Overflow
My regex pattern looks something like <xxxx location="file path/level1/level2" xxxx some="xxx"> I am only interested in the part in quotes assigned to location.