-4

Get The Last Characters end with (/) in include.

The input string is: xxx/xx/xxx/YERpq9CifKTIC1g

The result that I want: /YERpq9CifKTIC1g

bobble bubble
  • 16,888
  • 3
  • 27
  • 46

1 Answers1

0

Try:

/\/[^\/]+$/

The theory being to match a / followed by any character that isn’t a / ([^\/]) until the end of the line ($).

Jordan
  • 1,390
  • 2
  • 9
  • 24