I am trying to learn Common Lisp and want to use regular expressions to parse text files. Which library is the easiest to use for a beginner like me? Am I correct to assume that it depends on the C
Tag: regular
Regular expression matching URL does not contain a given string set
I need to match all that does not contain /admin/or? page = URL.
I will use it as a redirect rule in the iirf.ini file (htaccess syntax is supported).
How can I do this ?
^(?!.*(/
Regular expression – overlapping text replacement using Perl regular expression
I have a text file containing a bunch of sentences. The sentences contain spaces (spaces, tabs, new lines) to separate words composed of letters and/or numbers.
I want to find the word “123” or “
Regular expression problem: independent location of words
Is it possible to define a regular expression pattern that checks for example. The 3 words are independent of their position in the main chord?
For example, my string is like “click here to u
Regular expression – Search repeated files across multiple directory
I downloaded some files related to a specific topic from the Internet. Now I want to check if there are any duplicates in the files. The problem is that the names of the files will be different, bu
Regular expression – delete parameters using MOD_REWRITE
I want to use mod_rewrite to delete a specified query parameter from the URL.
Example:
1) User enters the URL:
http://localhost/intra/page.htm?var1=123&var2=456&var3=789 2)mod_rewrite
Regular expression – how to search for words or plural versions [copy]
See the English answer> Regex search and replace with optional plural 4
I am trying to make a simple regular expression, what I want to do is to match the strange part of a word, Whether it has an
Regular expression – how to modify IP: PORT regular expressions?
I have normal expressions
match = re.findall(r'[0-9]+(? :\.[0-9]+){3}’, source) It can get content similar to 192.168.1.1 from the source string.
How do I modify this regular expression to ma
Regular expression – delete comments using Perl
Is there any regular expression that can remove all comments in a given C program // and / ** / var from perl?
Given a multi-line program, it should use regular expressions to remove comments
Regular expressions for combining numbers
I have a series of numbers as follows. I want to combine the numbers into 4 groups. Can someone give vim regular expressions?
Input: 1234 56 7890 1234
The output should be: 1234 5678 90