![]() In this case, you will keep just the first white space, and the first linebreak if it exists. You need to specify you are not interested in removing the last linebreak by including the $ anchor at the end: 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. |