IwnfuM Posted September 22, 2010 Share Posted September 22, 2010 Hi , how i can search the char - \ - with regex? i have a little problem with find it in some text with preg_match. Ive tried something like that . $regex = '/\\{1}/'; Simply it was about to search the char /. Thanks , Mor. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted September 22, 2010 Share Posted September 22, 2010 With: \\\\ Quote Link to comment Share on other sites More sharing options...
IwnfuM Posted September 22, 2010 Author Share Posted September 22, 2010 Why the hell it have never showed up in the regex tutorials ? helped me lot. thanks , Mor. Quote Link to comment Share on other sites More sharing options...
salathe Posted September 23, 2010 Share Posted September 23, 2010 Did you RTFM? See the note on that page between the 2nd and 3rd paragraphs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.