A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
If you want to explicit dissallow http/https/www you can use this (it's not ignore case):
^((?!www|http)[a-z0-9\-_ ])*$
But, you can't write an URL without the `://` part, can you? So maybe this will do, it will ignore case and only allow "word characters" and whitespace
^(\w?\s?)*$
I'm looking for a regex pattern that allows only alphanumeric and disallows URL's with ignore case option that could have http,https and www in name textbox fields.
Much appreciated for any quick help on this.