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. Link to comment https://forums.phpfreaks.com/topic/214140-char/ Share on other sites More sharing options...
Pikachu2000 Posted September 22, 2010 Share Posted September 22, 2010 With: \\\\ Link to comment https://forums.phpfreaks.com/topic/214140-char/#findComment-1114257 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. Link to comment https://forums.phpfreaks.com/topic/214140-char/#findComment-1114260 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. Link to comment https://forums.phpfreaks.com/topic/214140-char/#findComment-1114402 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.