Browse by Tags
What regex can I use to validate a string containing a domain name that MAY contain a wildcard?
So these strings should all be marked as valid:
This means that
- every ...
i need a regex for .NET that will validate 2 specific email domains: mail.myuniv.edu and special.myuniv.edu. i can get an expression (below) that will validate one or the other but not both.
^[\w\-\.\+]+\@\bmail\b\.\bmyuniv\b\.\bedu\b$ // this will validate ...
Hi, I'm new to regex, and I've been looking for a solution to this hours now - something I did not expect!
I'm using PHP and I have a discussion forum where I use TinyMCE to post comments. The user is allowed to insert emoticons, which are stored on my server. (Example path: ...
I've been scouring the internet trying to find an expression to extract domains from URL's. I've found a very good one, but it doesn't do ALL that I need it too. See below for criteria.
Current Expression: ^(?:[^/]+://)?([^/:]+)
matcher = ...