Try this: https?:\/\/example[.]it\/(?!hello).*
Working example: http://regexr.com/3dc97
I’m guessing the follow up question would be if you can make domain dynamic but I’m sure you can figure that out.
More Related Contents:
- Use RegEx to match URL [closed]
- Regex to reject specific values
- Regex match entire words only
- Is there a regular expression to detect a valid regular expression?
- What is a regular expression which will match a valid domain name without a subdomain?
- Extract a substring according to a pattern
- How to extract text from a string using sed?
- Using sed to delete all lines between two matching patterns
- Regex lookahead for ‘not followed by’ in grep
- Why is this regex using lookbehinds invalid in R?
- Fully qualified domain name validation
- Fixing Catastrophic Backtracking in Regular Expression
- apache HTTP:X-Forwarded-Proto in .htaccess is causing redirect loop in dev environment
- Dollar sign in regular expression and new line character
- How to use RegEx in Dart?
- Regex for youtube URL
- What do \S, \W, \D stand for in regex?
- Using RegEX To Prefix And Append In Notepad++
- How to match the first word after an expression with regex?
- When is it best to use Regular Expressions over basic string splitting / substring’ing?
- Regex Letters, Numbers, Dashes, and Underscores
- Regex for field that allows numbers and spaces
- How to replace only part of found text?
- Remove all characters before a period in a string
- powershell extract text between two strings
- Get Twitter @Username with Regex in R
- Can I use an OR in regex without capturing what’s enclosed?
- How to make “grep” read patterns from a file?
- How to measure similarity between strings?
- “UnicodeEncodeError: ‘ascii’ codec can’t encode character”