Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: expression

Regular expression – How to use an abnormal wildcard in Bash?

See answer in English> Automatically ignore files in grep 6
I want to grep multiple files in the folder. In addition to large files like pcap files and gziped files, I want to render them a lot. So

October 18, 2021By Simo Regexp abnormal, BASH, expression, How, regular, wildcard, with tapeLeave a Comment

Regular expression pattern explanation

I’m fairly new to regular expressions, I recently used a regular expression in a perl script, and I can’t figure it out:

$groups= qr/\(([^()]+|(??{$groups}))*\)/; Any help will be greatly app

October 18, 2021By Simo Regexp explanation, expression, mode, regularLeave a Comment

Regular expression, what is obtained after the second occurrence

I have a string in the following format:

TEXT #### TEXT #### SPECIALTEXT

I need Get SPECIALTEXT, basically the content after the second occurrence of ####. I can’t do it. Thank you

<

October 18, 2021By Simo Regexp appearance, expression, Get, regular, Second, string, whatLeave a Comment

Regular expression

Regular expression 1. Regular expression single character

[[emailprotected] tmp]# grep ‘1’ passwd.bak #Find the line with ‘1’[[emailprotected] tmp]# grep'[AZ]’ passwd .bak #Find all capital l

October 18, 2021By Simo Regexp expression, regularLeave a Comment

Shell script – GREP and regular expressions

grep command

1, grep program: Linux Three Musketeers–grep, awk, sed

2, GrepL: text line filtering tool

Awk: report generator (formatting text output)

3, grep contains three

October 18, 2021By Simo Unix and regular, expression, GREP, Script, shellLeave a Comment

Regular expression – how to search for six letters with letters in alphabetical order

I recently created a Perl script to search for words starting with D and E with the following code:

$infile =’words.txt’;
open(IN, $infile);
$count = 0;
while ($word = ) {
chomp($word );
if (

October 18, 2021By Simo Regexp alphabetical order, expression, how to use, letters, regular, search, Six, With, wordsLeave a Comment

Regular expression is an unstressed HTML tag

Does anyone have a regular expression to match unclosed HTML tags? For example, the regular expression will match the . and the second , but not the first or first closing tag:

testing Is th

October 18, 2021By Simo Regexp expression, HTML, regular, Tag, unstoppableLeave a Comment

Regular expression – how to determine which alternative items in the Perl regular expression mode?

I have a list of regular expressions (about 10-15) and I need to match some text. Matching them one by one in a loop is too slow. However, I did not write my own state machine To match all regular

October 18, 2021By Simo Regexp alternative, expression, How, item, judgment, match, mode, perl, regularLeave a Comment

Regular expression extraction part URL

I’m lazy tonight and don’t want to figure this out. I need a regular expression to match’jeremy.miller’ and’scottgu’ in the following input:

http://codebetter.com/blogs/jeremy.miller/archive/

October 18, 2021By Simo Regexp expression, extraction, part, regular, URLLeave a Comment

Regular expression – Assess postal code input to Perl array

I have an array containing the first 2 characters of the postal code area in Perl, as shown below:

@acceptedPostcodes = (“CV”, “LE”, “CM”, “CB”, “EN”, “SG”, “NN”, “MK”, ​​”LU”, “PE”, “ST”, ”

October 18, 2021By Simo Regexp Arrse, evaluation, expression, input, perl, Postal Code, regularLeave a Comment

Posts navigation

Page 1 Page 2 Page 3 … Page 6
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress