Exercise PHP-Regular Expressions
Solution
Find an expression
Write a PHP program that counts the number of time your name occures in a documentFind and replace
Write a PHP program that transforms all occurences of www.hti.bfh.ch into www.ti.bfh.ch.A more complicated RegExp
Write the PHP program for changing any student address name.surname@hti.bfh.ch into kuerzel@bfh.ch. We suppose all users are students and have number 1, that means that the kuerzel is 4 first letters of the surname and the very first letter of the first name, plus number 1.Related Pages
Contact
Prof. Dr. Emmanuel Benoist
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Social Networks
Follow
me
on
Linkedin, Scholar
& Research gate