w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
preg replace: replace all line breaks outside a title attribute

you should use preg_replace_all() and then use (?<!your_match_here) and its siblings. What do I mean by siblings is negative_lookbehind and positive_lookbehind which conditions your search algorithm to see if a character is after or before a certain letter/sign/digit





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.