K
kalikoi
Hi All
I need a regular expression that retrieves the string that appears
after the "/"
As a example consider the following
Input Output
------ -------
(a/b)/c -------->c
a/b*100*(1-((c*d)/e))----->b,e
(a)-(((b)*(100-c))/(d))/((a)-(((b)*(100-c))/(d))+b*(100-c)/d---->d and
((a)-(((b)*(100-c))/(d))
((a)-(((b)*(100-c))/(d))---->d
(a+b)/((c-d)+e)*100----->((c-d)+e)
((a/b)/c)+d-----> b,c
(a+b)/(c+d+e-f)*100-----> (c+d+e-f)
(a+b)/((c-d)+e)*100-----> ((c-d)+e)
I need a regular expression that retrieves the string that appears
after the "/"
As a example consider the following
Input Output
------ -------
(a/b)/c -------->c
a/b*100*(1-((c*d)/e))----->b,e
(a)-(((b)*(100-c))/(d))/((a)-(((b)*(100-c))/(d))+b*(100-c)/d---->d and
((a)-(((b)*(100-c))/(d))
((a)-(((b)*(100-c))/(d))---->d
(a+b)/((c-d)+e)*100----->((c-d)+e)
((a/b)/c)+d-----> b,c
(a+b)/(c+d+e-f)*100-----> (c+d+e-f)
(a+b)/((c-d)+e)*100-----> ((c-d)+e)