0

Here is my string http://www.example.com/dl/r66h5icmsyrh

I need to remove http://www.example.com/dl/

I am using autoblogged a wordpress plugin; which can handle regex in post template

This is what i tried.

%regex("%link%", "http://www.example.com/dl/", "0")%
Graham
  • 1,631
  • 14
  • 23
user1068544
  • 67
  • 1
  • 1
  • 5

1 Answers1

0

Use this:

%regex("%link%", "\\([^\\]+)$\", "0")%
Somnath Muluk
  • 55,015
  • 38
  • 216
  • 226
dockeryZ
  • 3,981
  • 1
  • 20
  • 28