wow that’s a lot to put in there, not sure where I should put the apostrophe 😊
It would depend on where you need them 😊 Do you have any experience with regular expressions? I won’t break them all down to you, but this line
^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$
basically translates to “beginning of string, then at least one of the following characters: a-z, 0-9, + or -, followed by zero or more groups of at least one of the following characters: ., a-z, 0-9, + or -, then an @, followed by at least one group of the following characters: a-z, 0-9, - or ., followed by a final group of 2-6 characters, end of string. I’d insert the apostrophe twice right after the “\-” group.
I would have to go thru that properly to see how that is filtering the apostrophe
It’s not filtering apostrophes, it’s only allowing certain characters.
would that code apply as well to the username in cp.members.php, cause EE is not allowing the apostrophe in the username either?
That’s a good question, actually. Probably not, would have to check. Derek would know 😊