Regex Help! |
[eluser]Matalina[/eluser]
it is only bringing in the second half because of the parenthesis. ([0-9]{3}-.*) should allow $1 to be used but it would be the same as $0 anyway. http://myregextester.com/ will show you what information falls into what part of the array. and unless you plan on having a uri that looks like 123- I would use [0-9]{3}-.+ |
Messages In This Thread |
Regex Help! - by El Forum - 06-26-2012, 01:04 PM
Regex Help! - by El Forum - 06-26-2012, 01:50 PM
Regex Help! - by El Forum - 06-26-2012, 01:52 PM
Regex Help! - by El Forum - 06-26-2012, 01:55 PM
Regex Help! - by El Forum - 06-26-2012, 02:06 PM
Regex Help! - by El Forum - 06-26-2012, 02:09 PM
Regex Help! - by El Forum - 06-26-2012, 02:24 PM
|