It seems that you are trying to remove all whitespaces and newline from a line, but you want to keep just one newline at the end of the line. I tried to make an expression using the PCRE_DOTALL flag like ^[\rĬan someone tell me what is wrong with my expression? I can get the expression that removes all newlines by combining the 2 Regexs, and that works. Only white space at the start and the end of the text was removed With the Regex I have above I can remove all whitespace, but I get: The second problem here is that when I try to do all of this with one Regex, I get incorrect results. Remove all whitespace from the given line I am quite new to regex, and I want to implement the following: Tom and Jerry Aranmanai 2019 720p Bengali Hindi dubbed Full English Movie.Q: ![]() Romeo Juliet In Hindi 2019 dubbed 720p Bengali Film Full Hindi Songs. ![]() The Calling Full Movie Hindi Dubbed 720p Full Movie 480p. Goel Grihaali 2020 Hindi Action Superhit Drama (Full Movie) 1080p Bluray Dual Audio (Hindi English). Title: Romeo Inferno (2016) Year: 2016 Size: 1.07GB Bitrate: 949kbps Codec: AVI-VIDEO.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |