how to use preg_match for whitelisting a string?
2319
How to validate an email address using a regular expression?
4589
PHP validation/regex for URL
136311
Strpos with exact matches
39444
regular expression in php: take the shortest match
1814
How do you access the matched groups in a JavaScript regular expression?
124388
Detect language from string in PHP
35299
preg_match special characters
78395
Checking whole string with a regex
101144
How to match, but not capture, part of a regex?
99635
How can I match on an attribute that contains a certain string?
17824
How to detect the presence of URL in a string
15921
Using str_replace so that it only acts on the first match?
117717
What are the best PHP input sanitizing functions?
55207
How to search in an array with preg_match?
134297
Need a regex to exclude certain strings
125739
Get repeated matches with preg_match_all()
138723
How do I filter all HTML tags except a certain whitelist?