StackOverflow Questions for Tag: preg-match

Nike
Nike

Reputation: 1529

"Unknown modifier 'g' in..." when using preg_match in PHP?

Score: 132

Views: 93256

Answers: 1

Read More
ITg
ITg

Reputation: 63

Match one of two whole integers in a string of pipe-delimited, pipe-wrapped integers

Score: 6

Views: 32751

Answers: 4

Read More
temerariomalaga
temerariomalaga

Reputation: 61

Get all links with contain a word

Score: 0

Views: 1866

Answers: 2

Read More
Padmanathan J
Padmanathan J

Reputation: 4620

How to get <pre> tag contents using preg_match_all?

Score: 0

Views: 1166

Answers: 2

Read More
mega-crazy
mega-crazy

Reputation: 858

Get href of all <a> tags

Score: 0

Views: 147

Answers: 1

Read More
jack D
jack D

Reputation: 3

Make preg_match() match all occurrences in text

Score: 0

Views: 125

Answers: 1

Read More
luqita
luqita

Reputation: 4087

Parse email string with metadata and get the From and Cc values

Score: 0

Views: 143

Answers: 3

Read More
PHP Web Dev 101
PHP Web Dev 101

Reputation: 555

Validate that an input string contains only letters, numbers and underscores

Score: 0

Views: 1450

Answers: 5

Read More
Soumo Gorai
Soumo Gorai

Reputation: 143

is there a function to escape special characters in a regex string?

Score: 0

Views: 1589

Answers: 3

Read More
EnexoOnoma
EnexoOnoma

Reputation: 8834

Get the src value from all img tags

Score: 1

Views: 274

Answers: 3

Read More
José Carlos
José Carlos

Reputation: 1015

Regex pattern with optional segments failing to match slash-delimited string

Score: 0

Views: 91

Answers: 2

Read More
EaterOfCode
EaterOfCode

Reputation: 2222

preg_match "Compilation failed: missing )"

Score: 4

Views: 14284

Answers: 2

Read More
airnet
airnet

Reputation: 2673

Get sequences of numeric values which have a distinctive starting format as a sanitized array of delimited strings

Score: -1

Views: 64

Answers: 4

Read More
Rikal
Rikal

Reputation: 225

Scrape all date of death expressions from obituary text

Score: 2

Views: 89

Answers: 2

Read More
Guillaume Rebmann
Guillaume Rebmann

Reputation: 184

Why is preg_match() returning two elements in the matches array?

Score: 0

Views: 71

Answers: 2

Read More
breq
breq

Reputation: 25516

Get all alphanumeric words with length of either 4 or 12 characters

Score: 0

Views: 99

Answers: 2

Read More
greenbandit
greenbandit

Reputation: 2275

Match urls with a specific signature

Score: 1

Views: 498

Answers: 1

Read More
prinzdezibel
prinzdezibel

Reputation: 11147

Get words delimited by "#$"

Score: -1

Views: 847

Answers: 6

Read More
new_webmaster
new_webmaster

Reputation: 107

Validate user input string only contains letters, numbers, and underscores

Score: 0

Views: 175

Answers: 2

Read More
Nick
Nick

Reputation: 906

How escape characters in a variable to be used in a regex pattern?

Score: 3

Views: 107

Answers: 1

Read More
PreviousPage 2Next