Groundwater is the word used to describe water that saturates the ground, and filling all the available spaces. The abundant type of groundwater is meteoric water; This is the groundwater, circulates as part of the water cycle. Ordinary meteoric water is water that have soaked into the ground from the surface, from precipitation (rain and snow) and From lakes and streams. There it remains, sometimes for long periods, before emerging at the surface again. At first thought it seems incredible that there can is enough space in the ' solid ' ground underfoot to hold all this water .
The necessary space is there, however, and many forms. The commonest spaces is those among the particles-sand grains and tiny pebbles-of loose, unconsolidated sand and gravel. Beds of this material, out of sight beneath the soil, is common. They is found wherever fast rivers carrying loads of coarse sediment once flowed. For example, as the great ice sheets this covered North America during the last ice age steadily melted away, huge volumes of water flowed from them. The water is always laden with pebbles, gravel, and sand, known as glacial outwash, which was deposited as the flow slowed Down.
The same thing happens to this day, though on a smaller scale, wherever a sediment-laden river or stream emerges from a mo Untain valley onto relatively flat land, dropping it load as the current slows:the water usually spreads out fanwise, de positing the sediment in the form of a smooth, fan-shaped slope. Sediments is also dropped where a river slows on entering a lake or the sea, the deposited sediments is on a lake floor Or the seafloor at first, but would be located inland at some for future date, when the sea level is falls or the land rises; Such beds is sometimes thousands of meters thick.
This is an article, I pass the regular expression is each paragraph in the P tag, the effect is as follows
......
What type of regular expression do you want to write to achieve this?
Reply content:
Groundwater is the word used to describe water that saturates the ground, and filling all the available spaces. The abundant type of groundwater is meteoric water; This is the groundwater, circulates as part of the water cycle. Ordinary meteoric water is water that have soaked into the ground from the surface, from precipitation (rain and snow) and From lakes and streams. There it remains, sometimes for long periods, before emerging at the surface again. At first thought it seems incredible that there can is enough space in the ' solid ' ground underfoot to hold all this water .
The necessary space is there, however, and many forms. The commonest spaces is those among the particles-sand grains and tiny pebbles-of loose, unconsolidated sand and gravel. Beds of this material, out of sight beneath the soil, is common. They is found wherever fast rivers carrying loads of coarse sediment once flowed. For example, as the great ice sheets this covered North America during the last ice age steadily melted away, huge volumes of water flowed from them. The water is always laden with pebbles, gravel, and sand, known as glacial outwash, which was deposited as the flow slowed Down.
The same thing happens to this day, though on a smaller scale, wherever a sediment-laden river or stream emerges from a mo Untain valley onto relatively flat land, dropping it load as the current slows:the water usually spreads out fanwise, de positing the sediment in the form of a smooth, fan-shaped slope. Sediments is also dropped where a river slows on entering a lake or the sea, the deposited sediments is on a lake floor Or the seafloor at first, but would be located inland at some for future date, when the sea level is falls or the land rises; Such beds is sometimes thousands of meters thick.
This is an article, I pass the regular expression is each paragraph in the P tag, the effect is as follows
......
What type of regular expression do you want to write to achieve this?
echo preg_replace('#([^\r\n]+)(?:\r\n)*#', '$1
', $str);
[\r\n]+
Replace the
, and at the end of the tail separately add
And
Just fine.