Home > Development Tools > sublime > How sublime uses regular expressions to modify data in batches

How sublime uses regular expressions to modify data in batches

藏色散人
Release: 2020-06-17 13:11:08
forward
3933 people have browsed it

The following tutorial column of sublime will introduce to you how sublime uses regular regularization to modify data in batches. I hope it will be helpful to friends in need!

How sublime uses regular expressions to modify data in batches

The requirements are as follows:
How sublime uses regular expressions to modify data in batches

Remove the letters and numbers in front of these knowledge points
If you use a php script to change them one by one, Because the amount of data is too large, it may cause data congestion or server crash.
Use the sublime editor to open the sql file of the table. Query these prefixes regularly, replace them with blanks in batches, and then rerun sql to generate the data table.
How sublime uses regular expressions to modify data in batches

The regular statement is as follows:
How sublime uses regular expressions to modify data in batches

This solves the seemingly complicated problem~

The above is the detailed content of How sublime uses regular expressions to modify data in batches. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template