I
I
Ivan2020-01-09 13:28:07
PHP
Ivan, 2020-01-09 13:28:07

Why is this regex not picking up the right word?

Hello! Please tell me why in this case the regular expression does not take the word "advertising" and "copyright".
Here is the expression

/(\s|^)[\w\s](.)*(webmoney|сотрудн|коммерческих|заказа|промокод|почта|промокоды|промокоду|промокодом|промокоде|магазин|реклама|реклама|рекламы|4100|подпишись|подписывайся|авторсике\sправа|подпишитесь|подписывайтесь|подписаться|присоединяйтесь|нажми|paypal)(.*)/iu

5e17003542906573762108.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2020-01-09
@Vlatqa

why is this all? https://regex101.com/r/pQcVno/2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question