Write a regular expression in the variable template in such a way that it would match the following smileys:
- :)
- :-)
- :(
- :-(
- :o
- :-o
Note that your regexp should not match any other smileys or random strings that do not contain them.
Write a regular expression in the variable template in such a way that it would match the following smileys:
Note that your regexp should not match any other smileys or random strings that do not contain them.
Create a free account to access the full topic