S
S
Siberian_12018-09-17 17:20:18
Django
Siberian_1, 2018-09-17 17:20:18

How to set any number of any characters in Django url regular expression?

A construction like ([\d]+) denotes any characters and any number of them, but what if letters and characters and any number of them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Dart, 2018-09-17
@gobananas

So? https://regex101.com/r/UMzL8Q/1
If you need to go in a row, then remove the g modifier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question