Thread: Regex examples
View Single Post
Old 02-05-2017, 09:16 AM   #516
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by GalacticHull View Post
When I run that, nothing is found. I'm not too familiar with regular expressions, however. Does it need to be prefaced with something like (?s) or regex ... ?
That was my mistake, I put the parens in the wrong place it should read:
Code:
name="(\d+)"
This should work.
Doitsu is offline   Reply With Quote