Thread
:
Regex examples
View Single Post
08-23-2012, 12:11 PM
#
127
Doitsu
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
IMHO, the problem is
\w*\W*
, which matches a sequence of 0 or more word characters followed by 0 or more non-word characters. I.e., it will at most match one word plus a space or punctuation character. Try
.*?
instead:
Code:
"\>[^"](.*?)"
Doitsu
View Public Profile
Find More Posts by Doitsu
Track Posts by Doitsu via RSS