![]() Topic awaiting preservation: regex to match numbers (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Maniac (V) Mad Scientist From: :morF |
![]() code: (?Ui)([/mipsor/images/])([0-9]{1,8})([\.jpg])
|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() |
Maniac (V) Mad Scientist From: :morF |
![]() aah, yes... sorry. I was treating the two literal strings as sets of characters. |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() Also if you're just interested in the filename, you don't need the grouping parentheses around the path and extension. code: (?Ui)/mipsor/images/([0-9]{1,8})\.jpg
|
Maniac (V) Mad Scientist From: :morF |
![]() It's a settings string, makes it case insensitive and flips the greediness |