dekkard's solution to "Get ID from url path - regex"

Will this do?<\/p>\n

    <\/span>http<\/span>[<\/span>^<\/span>#<\/span>\\?<\/span>]<\/span>+<\/span>[<\/span>^\\<\/span>d<\/span>](<\/span>\\<\/span>d<\/span>{<\/span>4<\/span>,<\/span>7<\/span>})[<\/span>^-\\<\/span>d<\/span>\\<\/span>w<\/span>]<\/span>*<\/span>\n<\/pre><\/div>\n

You'll need to capture the first group out of it.<\/p>\n

Will this do? ``` http[^#\?]+[^\d](\d{4,7})[^-\})(?![-\d\w]* ``` ]+) ``` You'll need to capture the first group out of it. Updated.

User: dekkard

Question: Get ID from url path - regex

Back to question