Saturday 15 August 2015

regex - htaccess remove multiple char at end of string -


As an example, how can I "four" & amp; At the end of the string?

  Rev. & amp; Amp; Amp; & Amp; Amp; Amp; Amp; Amp;; & Amp; ;; FDFDF & amp; Amp; ^ & Amp; * (. *) And * $ rewrite * - [e = test:% 1, northeast]   

Convertible "test" back "FDFDF & End." , "What is wrong with this code in any code, instead of the expected output of" Fddfdf "?

(. *) is also capturing and at the end & $$ can not stop it; Ridz is still satisfied Because it matches the deficiency of & amp; Regex is reluctant to use (. *?) to first it & amp; .

All together: RETWEENCAND & amp; amp; amp; amp; amp; amp; amp; amp; amp; Amp; and & amp; ;; FDFDF & amp; & amp; amp; & amp; amp; & amp; amp;; *; * (. *?) And * $

No comments:

Post a Comment