required to convert rewrite rule written in apache to F5 irule

Hi Team,

since I am going for F5 load balancer from apache and I need to convert some rewrite rules in apache to F5 irule.

Could some please help that me urgently.

RENAME RewriteRule /hdfs/([6789])/([A-Za-z0-9_\-\/.]+)/RENAME/(.*)$ $1/$2/?user.name=nobody&op=RENAME&destination=/data/vmm$1/$3 [P,L]

the request that will hit like this and below example will give the clarity what regular expression above doing in apache:

curl -i -X PUT ‘https://services-ont-hs4.newbayasp.net/hdfs/9/dv/kpi/test/20161108_temp/MKDIRS’

is converted to following internal httpFS API

curl -i -X PUT ‘’

curl -i -X PUT ‘https://services-portal.ont-hs4.newbayasp.net/hdfs/9/dv/kpi/20161108_temp/RENAME/dv/kpi/20161108’

is converted to following internal httpFS API (/9 is the base directory)

curl -i -X PUT ’