Reputation: 23
I have few words:
put
returns
between
4paragraphs
How can i do regex for this? I use function preg_match in PHP. I can use only one word for this four words.
Upvotes: 2
Views: 283
Reputation: 748
use a list of words:
\^[put|returns|between|4paragraphs]\$
Upvotes: 5