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

How to use regular expressions to modify data in batches in sublime

藏色散人
藏色散人forward
2019-09-04 13:39:373536browse

Sublime Text is a code editor (SublimeText2 is a paid software, but it can be tried indefinitely), and it is also an advanced text editor for HTML and prose. The following column sublime usage tutorial will explain to you the specific method of using regular regularization to modify data in batches in sublime. I hope it will be helpful to friends in need!

How to use regular expressions to modify data in batches in sublime

The requirements are as follows:

How to use regular expressions to modify data in batches in sublime

Remove the letters and numbers in front of these knowledge points

If Use PHP scripts to change items one by one. Because the amount of data is too large, it may cause data congestion or the server may 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 to use regular expressions to modify data in batches in sublime

The regular statement is as follows:

How to use regular expressions to modify data in batches in sublime

This solves the seemingly complicated problem~

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

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete