Hi ,
how do i remove the last line from a block of text in java script without using loops.(only using regex) eg.,
"The Internet is a global system of interconnected computer networks that use the standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. It is a network of networks that consists of millions of private and public, academic, business, and government networks&&".
The last line always have "&&".