thanks for sharing your regex. Seems, you like this feature and you remind me of extending it with a set of predefined regular expressions for things like IP addresses, hostnames, e-mail, and so on. I opened a task on our roadmap:
[NET-328] Add predefined regular expressions for textfie-lds
A few minutes ago, I discussed that with our development team and we will time that feature for our next Sprint to have it available in our next release 1.1.0.
Do you have any suggestions of which predefined regex we should add?
regex for url and email addresses are complex. @uwe, yours for email seems fine for many cases, but apparently more special characters can be used in valid addresses (cf. RFC 5322).
Fortunately there are some resources like regular-expressions.info who already did the dirty work and they seem to settle on the following regex (excluding some things like IP-addresses and other specific cases):
(… assuming this gets escaped well, otherwise: see reference below)
The complete regex can also be found on their site. Since Datagerry aims to be enterprise-level this complete regex may be useful, because organisations sometimes get creative with naming.