Regular expression with variable in the middle
-
I’m trying to create a regular expression rule for the source url based on the following pattern:
part1/dynamic/part2/part3
I understand how to write a regular expression for when the dynamic part of the expression is at the beginning (^/part2/part3) or end (part1/.*), but not in the middle as per above.
How could I do this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Regular expression with variable in the middle’ is closed to new replies.