SivaSeagWeede
New Member
I'm having trouble with 2 regular expressions in PHP1. stripping http(s):// and www.\[code\]https://www.google.be/search?sclient=psy-ab&q=regex&oq=regexhttp://www.google.be/search?sclient=psy-ab&q=regex&oq=regexhttps://google.be/search?sclient=psy-ab&q=regex&oq=regexhttp://google.be/search?sclient=psy-ab&q=regex&oq=regex=> google.be/search?sclient=psy-ab&q=regex&oq=regex\[/code\]2. 3-30 characters, may contain a-zA-Z0-9.-_* but need at least one letter or number\[code\]Valid: -_l*96d.*Invalid: *-_.\[/code\]I've searched so long without any result so please help !Many thanks!