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

Category: Regexp

Regular expressions, also known as regular expressions. (English: Regular Expression, often abbreviated as regex, regexp or RE in the code), a concept of computer science. Regular tables are usually used to retrieve and replace texts that conform to a certain pattern (rule). Many programming languages support string manipulation using regular expressions. For example, a powerful regular expression engine is built in Perl, and the Java language comes with it. The concept of regular expressions was first popularized by tools in Unix (such as sed and grep). Regular expressions are usually abbreviated as “regex”. The singular includes regexp and regex, and the plural includes regexps, regexes, and regexen.

Floating point regular expression between 0 and 1

I am trying to verify the input of floating-point numbers, where the maximum value is 1.0 and the minimum value is 0.

Min: 0
Max: 1 Possible value;

0.1
0.99
0.365 How can I succeed wit

October 18, 2021By Simo Regexp between 0, expression, floating point, regularLeave a Comment

Regular expression – What is the best way to verify the URL input by the user in the Cocoa application?

I am trying to build a self-made web browser in order to become more proficient in Cocoa. I need a good way to verify whether the user has entered a valid URL. I have tried some regular Expressions

October 18, 2021By Simo Regexp application, best, Cocoa, expression, input, method, middle, program, regular, URL, user, verification, whatLeave a Comment

Regular expression – there is no slash

How will I make this rule so that you can access it with and without slashes?

RewriteRule ^members/([^/]+)$members.php?id=$1 [L] RewriteRule ^members/([^/]+)/?$members.php?id=$1 [L] Just a

October 18, 2021By Simo Regexp expression, no, regular, slashLeave a Comment

Regular expression greedy

I’m sure this is easy, but I tried many changes, but still can’t meet my needs. Things are too greedy, I can’t make it stop greedy. Given the text:

test=this=that=more text follows I want to

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

Generate a directory outline of an article with a regular expression

In the projects we are doing, it is often involved in the image processing of the article (the base64 image is saved on the server and converted to the image link of the server), and the use of h1,

October 18, 2021By Simo Regexp articles, build, catalogs, expressions, outlines, regularLeave a Comment

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 – replace the escape character in PowerShell

I have a string of…

“some text \\computername.example.com\admin$ “. How do I do the substitution so my final result is just “computername”

My question does not seem to know how to esc

October 18, 2021By Simo Regexp Characters, escape, expressions, Positive, PowerShell, replacementLeave 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

Posts navigation

Page 1 Page 2 Page 3 … Page 9
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