PHP Regex No Backslash?

Try negative lookbehind: (?\\\\) This only matches a if it's not preceded by a This is brittle, though; it would also fail if the string is escaped backslash \\*bold* text.

Try negative lookbehind: "/(?\\\\)\*/" This only matches a * if it's not preceded by a \. This is brittle, though; it would also fail if the string is escaped backslash \\*bold* text.

I get an error when trying that: Warning: preg_replace() function. Preg-replace: Compilation failed: missing ) at offset 26 – TheAdamGaskins Oct 26 '10 at 17:53 When I use four backslashes, instead of two, it works exactly like I need it to! Thanks!

– TheAdamGaskins Oct 26 '10 at 17:59 Ah yes, right. You do need four backslashes - I have corrected my answer. – Tim Pietzcker Oct 26 '10 at 18:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions