K
K
K1NDER2021-07-07 14:10:24
PHP
K1NDER, 2021-07-07 14:10:24

How to add a smiley face to a regular expression?

if(preg_match('/^-Новое-обьявление-([0-9]+)-$/', $account->step, $step))


The text itself looks like this: SMILEY My ads (the site just doesn't show smiles)
How can I add a smiley to a regular expression?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
From Prog, 2021-07-07
@FromProg

Website - choose the one you like, copy and paste into the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question