description
stringlengths
0
8.24k
regex
stringlengths
1
26.3k
text
stringlengths
0
2.47M
title
stringlengths
1
150
created_at
stringlengths
24
24
^(?!.*head).*\.scss$
abc.style.scss abc.head.scss abc.scss
regex head style scss
2019-02-16T02:21:25.000Z
Regex to select every brainfuck symbol.
.(?<=(<|>|\+|-|\.|,|\[|\]))
+++++ +++++ sayaca (sıfırıncı hücreye) 10 değerini ata [ sıradaki dört hücreye 70/100/30/10 değerlerini atamak için döngü kullan > +++++ ++ birinci hücreye 7 ekle > +++++ +++++ ikinci hücreye 10 ekle > +++ üçüncü hücreye 3 ekle > + dördüncü hücreye 1 ekle <<<< - sayacın (sıfırıncı hücrenin) değerini düşür ] > ++ . 'H' yaz > + . 'e' yaz +++++ ++ . 'l' yaz . 'l' yaz +++ . 'o' yaz > ++ . ' ' yaz << +++++ +++++ +++++ . 'W' yaz > . 'o' yaz +++ . 'r' yaz ----- - . 'l' yaz ----- --- . 'd' yaz > + . '!' yaz > . '\n' yaz
Brainfuck Regex
2021-11-07T23:02:15.000Z
_Separate the youtube tracking redirect link to its main companions_ ### Version 1 - Python - PHP ### Version 2 - JavaScript - Java - PHP - C# - maybe more ### Version 3 - PHP - Java - C# - Possibly Javascript (with filtering) ### Version 4 : Only bracket in return value - PHP - python - Golang - Java - C# - ~Rust~ (can work but without support for php) _first inspiration taken from [here](https://stackoverflow.com/questions/27745/getting-parts-of-a-url-regex)_
^(?:http[s]?):(?=\/)\/\/(?:(?:www[.])?youtube[.](?:[^@\/.?#:]+))\/(?:redirect)(?:\?(?:(?=event=(?:[^&#?\/@:]+))event=[^&#?\/@:]+)(?:&(?=redir_token=(?:[a-zA-z0-9]{206}))redir_token=[a-zA-z0-9]{206})?(?:[&][^@#]+)?(?=&q)&q=([^&#?\/@:]+)(?=&)&(?:(?:[^&#?\/@:]*)+))$(?<![#])(?:[^#]*)
https://www.youtube.com/redirect?event=video_description&redir_token=2enSyXvgntNg7NmthqSVYs5VpXdf3Uc7Juu5JtkJ9bPvpmdCkqJkd8dF85NdZk6NrwJVu3arNrXbMyXU8xYRMzzAo7GtfGznJ57EXqgXFYDZgVbN7sY8UQHqSS6NAmonTsq7e9hPwWwYCE4ugP6vPEy4xMBeH7aCYbiBzkpGZFTAFrRoAxJkpHpAWCZYMpoYiv4qCTDmWVfvTE&q=https%3A%2F%2Fsheetmusicboss.com%2F2021%2F07%2F27%2Frush-e-sheet-music%2F&v=Qskm9MTz2V4
Youtube redirect regex
2023-12-12T21:52:36.000Z
^spotify\/streams\/\d{8}\/[A-Z]{2}_streams_\d{8}\.csv
spotify/streams/20200819/NL_streams_20200819.csv spotify/streams/20200819/nl_streams_20200819.csv test/spotify/tracks spotify/tracks/hello.world
GCS streams file
2020-08-18T20:12:17.000Z
(?<dir>.+?)\/?(?<file>(?<name>\w+)\.(?<ext>\w+))?$
/var/sdsdsds/sdsds/video_121423.mp4 C:/var/sdsdsds/sdsds/video_121423.mp4
Separate path string to dir, filename (with extension), file (without extension) and extension. Groups is named
2020-09-04T14:14:27.000Z
Building a Smart IDE: Identifying comments
(\/)(\*)(.|\n)*?\2\1|(\/\/.*)
#include<stdio.h> #include<stdlib.h> typedef struct Node { int data; struct Node *next; struct Node *prev; }node; void insert(node *pointer, int data) { /* Iterate through the list till we encounter the last node.*/ while(pointer->next!=NULL) { pointer = pointer -> next; } /* Allocate memory for the new node and put data in it.*/ pointer->next = (node *)malloc(sizeof(node)); (pointer->next)->prev = pointer; pointer = pointer->next; pointer->data = data; pointer->next = NULL; } int find(node *pointer, int key) { pointer = pointer -> next; //First node is dummy node. /* Iterate through the entire linked list and search for the key. */ while(pointer!=NULL) { if(pointer->data == key) //key is found. { return 1; } pointer = pointer -> next;//Search in the next node. } /*Key is not found */ return 0; } void delete(node *pointer, int data) { /* Go to the node for which the node next to it has to be deleted */ while(pointer->next!=NULL && (pointer->next)->data != data) { pointer = pointer -> next; } if(pointer->next==NULL) { printf("Element %d is not present in the list\n",data); return; } /* Now pointer points to a node and the node next to it has to be removed */ node *temp; temp = pointer -> next; /*temp points to the node which has to be removed*/ pointer->next = temp->next; temp->prev = pointer; /*We removed the node which is next to the pointer (which is also temp) */ free(temp); /* Beacuse we deleted the node, we no longer require the memory used for it . free() will deallocate the memory. */ return; } void print(node *pointer) { if(pointer==NULL) { return; } printf("%d ",pointer->data); print(pointer->next); } int main() { /* start always points to the first node of the linked list. temp is used to point to the last node of the linked list.*/ node *start,*temp; start = (node *)malloc(sizeof(node)); temp = start; temp -> next = NULL; temp -> prev = NULL; /* Here in this code, we take the first node as a dummy node. The first node does not contain data, but it used because to avoid handling special cases in insert and delete functions. */ printf("1. Insert\n"); printf("2. Delete\n"); printf("3. Print\n"); printf("4. Find\n"); while(1) { int query; scanf("%d",&query); if(query==1) { int data; scanf("%d",&data); insert(start,data); } else if(query==2) { int data; scanf("%d",&data); delete(start,data); } else if(query==3) { printf("The list is "); print(start->next); printf("\n"); } else if(query==4) { int data; scanf("%d",&data); int status = find(start,data); if(status) { printf("Element Found\n"); } else { printf("Element Not Found\n"); } } } }
IDE: Identifying comments
2017-08-25T08:09:19.000Z
^(.+)-([a-z]+)_?(.+)?(\.[a-zA-Z]{3,4}$)
filter match
2015-01-14T12:11:56.000Z
^([.\d]+[.\d]+|[.\d])
1
numbahs
2016-01-14T23:47:11.000Z
\_\d(.+) for _2015041122
\_\d(.+)
_Delivery_20150415162602.xml
dropping first digit (2) andy advice?
2015-05-28T16:43:09.000Z
Matches integers and decimals with or without thousands grouping.
^-?(\d+|\d{1,3}(?:\,\d{3})+)?(\.\d+)?$
1234567890 12345678.901 123,456,789.01 123,45678.901 123,456,789..01 123,456,789. .0123456789 -1234567890 -12345678.901 -123,456,789.01 -123,45678.901 123,456,789..01 -123,456,789. -.0123456789
Integers and Decimals
2015-08-16T13:48:23.000Z
In Düsseldorf haben wir heute [-+]?(\d*\.)?\d*°C, bei [-+]?(\d*\.)?\d*% Luftfeuchtigkeit\.
In Düsseldorf haben wir heute 12.3°C, bei 87% Luftfeuchtigkeit.
Weather
2018-04-12T09:32:42.000Z
### Define and detect custom tag with specific prefix & suffix * Define custom tag : `<:tag_name:>` . * Regex is `/<:([^<:>\s]+?):>/gm` . * Prefix is `<:` . * Suffix is `:>` . * `tag_name` can not contain prefix, suffix, space, tab or newline character . * `tag_name` can not be null . * You can get `tag_name` string use `$1` . * Prefix and suffix any unicode character , just use `\uXXXX` in regex.
<:([^<:>\s]+?):>
regex is /<:([^<:>\s]+?):>/gm Define custom tag : <:tag_name:> prefix is "<:" suffix is ":>" tag_name can not contain prefix, suffix, space, tab or newline character. tag_name can not be null. test string as below: <:ab我c:><<:abc:>:<:ab_c:>a<:ab c:>b<:abc:><:abc:>c:<:abc:>><:abc:> <:<:efg<:efg:>:>e<:<:efg<:ef g:>:>efg<:<:efg:>efg:>:>fg<:<:efg:>efg:>:>
Define and detect custom tag with specific prefix & suffix
2017-01-26T17:04:37.000Z
Recovers the part before @ For example: [email protected] The regex will catch teste
(.*)(?=@)
GET THE USERNAME OF THE EMAIL
2019-03-21T14:06:21.000Z
^(?:(http|ftp)(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:\/?#[\]@!\$&'\(\)\*\+,;=.]+
google.com test.com?query=test test. http://regex101.com/ https://www.facebook.com/ 127.0.0.1
Url validator
2020-08-08T08:41:32.000Z
Match Gmail Email
^[a-z0-9]+(?!.*(?:\+{2,}|\-{2,}|\.{2,}))(?:[\.+\-]{0,1}[a-z0-9])*@gmail\.com$
Match Gmail Email
2014-11-20T23:58:21.000Z
Retrieve the first numeric parameters of the SPECGRID keyword
SPECGRID.*?\n([ \d]+)[\s\S]*?\/
-- Generated [ -- Format : ECLIPSE keywords (grid geometry and properties) (ASCII) -- Exported by : Petrel 2014.4 (64-bit) Schlumberger -- User name : apitchford -- Date : Friday, April 29 2016 15:20:42 -- Project : Glenloth19April2016.pet -- Grid : Tartan Wide 3D grid 150 prop -- Generated ] PINCH -- Generated : Petrel / MAPUNITS -- Generated : Petrel METRES / MAPAXES -- Generated : Petrel 156653.33 7788633.76 156653.33 7789633.76 157653.33 7789633.76 / GRIDUNIT -- Generated : Petrel METRES / SPECGRID -- Generated : Petrel 54 166 127 1 F / COORDSYS -- Generated : Petrel 1 127 /
Eclipse Keyword SPECGRID
2016-08-04T08:35:41.000Z
(?<protocol>(?:[^:]+)s?)?:\/\/(?:(?<user>[^:\n\r]+):(?<pass>[^@\n\r]+)@)?(?<host>(?:www\.)?(?:[^:\/\n\r]+))(?::(?<port>\d+))?\/?(?<request>[^?#\n\r]+)?\??(?<query>[^#\n\r]*)?\#?(?<anchor>[^\n\r]*)?
uri parser
2015-03-25T13:20:28.000Z
Spring boot logback 日志正则匹配。 样例日志 ``` 2019-12-27 13:52:38.201 INFO 1 --- [Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2019-12-27 13:52:39.535 INFO 1 --- [Thread-8] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2019-12-27 13:52:39.538 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ... 2019-12-27 13:52:42.539 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Unregistering ... 2019-12-27 13:52:42.540 WARN 1 --- [DiscoveryClient-0] c.netflix.discovery.TimedSupervisorTask : task supervisor shutting down, can't accept the task 2019-12-27 13:52:42.597 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient 2019-12-27 13:52:43.329 WARN 1 --- [XNIO-1 task-15] c.n.eureka.resources.InstanceResource : Not Found (Renew): RPLUS-SERVICE-COMMUNITY - 69bce99f652f:rplus-service-community:20090 ```
(\d+-\d+-\d+\s\S+)\s+(\w+)\s(\d+)\s---\s(\S+.\S+)\s(\S+\s+:)\s(\S+.*)
2019-12-27 13:52:38.201 INFO 1 --- [Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2019-12-27 13:52:39.535 INFO 1 --- [Thread-8] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2019-12-27 13:52:39.538 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ... 2019-12-27 13:52:42.539 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Unregistering ... 2019-12-27 13:52:42.540 WARN 1 --- [DiscoveryClient-0] c.netflix.discovery.TimedSupervisorTask : task supervisor shutting down, can't accept the task 2019-12-27 13:52:42.597 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient 2019-12-27 13:52:43.329 WARN 1 --- [XNIO-1 task-15] c.n.eureka.resources.InstanceResource : Not Found (Renew): RPLUS-SERVICE-COMMUNITY - 69bce99f652f:rplus-service-community:20090
spring logback parser
2021-07-06T08:09:57.000Z
A pattern to parse Amazon Web Services ARNs into their varying components: - Partition - Service - Region - AccountID - ResourceType (optional - empty string is missing) - Resource
^arn:(?P<Partition>[^:\n]*):(?P<Service>[^:\n]*):(?P<Region>[^:\n]*):(?P<AccountID>[^:\n]*):(?P<Ignore>(?P<ResourceType>[^:\/\n]*)[:\/])?(?P<Resource>.*)$
# ARN Format Templates arn:partition:service:region:account-id:resource arn:partition:service:region:account-id:resourcetype/resource arn:partition:service:region:account-id:resourcetype:resource # Amazon Simple Storage Service (S3) arn:aws:s3:::my_corporate_bucket/Development/*
Amazon Resource Name (ARN) pattern with a named group for each component
2017-01-09T05:42:48.000Z
This is a number also 123-456-7890 This is not a number: 123456 This is not a number, but an address 123 456 My parameters are 90/60/90 - 120/150/120 - not a phone number I am cheeky and I use letter 0 instead of zero 604_213_0293 Or I use | symbol and also 604_2|3_0293 may happen The most classical Canadian number is +1(604)123-4567 hi hi Dashes can be different 123-456–7890 And looks like phone +I(800)-2l4-15O but contain combination with letter
(:?\+[Il]* ?)?[\d()–-][\d ()\-"–OОli_|]{6,20}[\dOОli|]\d
This is a number also 123-456-7890 This is not a number: 123456 This is not a number, but an address 123 456 My parameters are 90/60/90 - 120/150/120 - not a phone number I am cheeky and I use letter 0 instead of zero 604_213_0293 Or I use | symbol and also 604_2|3_0293 may happen The most classical Canadian number is +1(604)123-4567 hi hi Dashes can be different 123-456–7890 And looks like phone +I(800)-2l4-15O but contain combination with letter 'oi+I(222)3334444oi', 'io+0 (222) 333 444Ooi', 'O+l ( 222 ) 3|3 4O40O', '+O+l ( 222 ) 3|3 4O40O', in text 123-567 +(1)-23567 text in text 123567-2 text --------------------------------------- in text 1-800-123-123 1-800-123-123 text in text 1-800-123-123 text --------------------------------------- in text 1-800-123-123 1-800-123-123 text in text 1-800-123-123 text --------------------------------------- n0OOOOOOOOOOOO h1iiiiiiiiiiiii in text +l-800-123-123 1-8oo-I23-i23 text in text +1 (800)-l23-123 text phone '012345678', '0123456789', '01234567891', '012345678912', '0123456789123', '01234567891234', '012345678912345', '800-1234567', '8Oo-I234567-l', '+1(222)3334444', '+1 (222) 333 4444', '+1 ( 222 ) 333 4444', '+1-222-333-4444', '+1 222 333 4444', '236 - 332 - 6669', '(604)123-4567', '604 123 4567', '604_123_4567', '2368337551', '12223334444', '222) 333 4444', '3333 4444', '(437)1234567', '(888)1234123', not a phone '0', '01', '012', '0123', '01234', '012345', '0123456', '01234567', '90-60-90', '90/60/90', '0123456789123456', '+X (XXX) XXX XXXX', '1/23-4', '1 / 23 - 4', '1234/12,3-1234'
phone in text
2020-10-20T11:57:44.000Z
Cualquier combinación de letras, dígitos y _ (guion bajo), puede empezar con una letra, un _ guion bajo) o el símbolo dólar, en los dos últimos casos deberá seguirle mínimamente una letra. Algunos lexemas aceptados son: _num1, num1, $num1, $i, i, _i, etc.
([a-zA-Z]+([0-9]+)?)|([_$][a-zA-Z]+([0-9]+)?)
as2 var15 _num1 $num1 $i _i
Identificadores del lenguaje PHP
2021-05-06T06:11:35.000Z
(?:https?:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*?(?:profile.php\?id=(?=\d.*))?([\w\-]*)?(?:[\w\-\.]*)?
https://facebook.com/vietphu.nguyen.7?rc=p&refid=52&__tn__=R https://facebook.com/shunchina?rc=p&refid=52&__tn__=R https://facebook.com/phuocnguyen.nguyen.16568?rc=p&refid=52&__tn__=R https://facebook.com/profile.php?id=100004404017311&rc=p&refid=52&__tn__=R
Facebook profile url
2019-07-12T04:54:01.000Z
Splits all words. Equivelent to String.prototype.split() but doesn't include space characters in the split. @see [String.prototype.split](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split)
\S+
trogdor was a man or was he a dragon man
Split words
2016-08-09T17:52:20.000Z
([A-Z]{1,3}-[0-9]{4}.[0-9]{2}[A-Z]{1,3})
http://www.withagen-attractieverhuur.nl/TipProduct/SP-2008.05A/Circus%20overdekt/
withagen SKU
2016-02-15T13:10:48.000Z
^ ( ( 0?[1-9]\/ (0?[1-9]|1[0-2]) )| ( (1\d|2[0-8]) \/0?2 )| ( ([12]\d|30) \/ (0?[469]|11) )| ( ([12]\d|3[01]) \/ (0?[13578]|1[02]) ) ) \/\d{4}$
12/12/0000
Data en format dd/mm/aaaa
2015-11-26T11:51:01.000Z
(?:https?:\/{2})?w{0,3}\.?[\.\d\w-]+\/?([-_\d\w]+):([-_\d\w]+)
http://www.any-domain.com/section:VALUE
Typo 3 Section
2016-02-29T14:35:28.000Z
Expressão regular para o código postal (postcode) portugês
^[0-9]{4}-[0-9]{3}\b.+$
REGEX Código Postal Pt
2015-03-19T18:10:48.000Z
lsyh
(\d{2}.\d{2}.\d{4}).*?(\d{2}:\d{2}:\d{2}).\d{0,3}.*?\*(ERROR)\*.*?(\[.*?\]).(.*?\..*?)\s+?(.+)\n
30.08.2016 08:00:00.004 *ERROR* [pool-7-thread-5] com.day.cq.reporting.impl.snapshots.SnapshotServiceImpl Error accessing repository during creation of report snapshot data javax.jcr.LoginException: Cannot derive user name for bundle com.day.cq.cq-reporting [313] and sub service null
lsyh-aem_log_entry_split
2016-08-31T17:18:48.000Z
Tests a floating point number
^-?\d*(\.(?=\d))?\d*$
-100.00
Floating Point
2015-08-17T15:51:50.000Z
Pattern that check your string to match Facebook user profile URL.
^(http\:\/\/|https\:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w\.)*#!\/)?(?:pages\/)?(?:[\w\-\.]*\/)*([\w\-\.]*)
Facebook profile URL pattern
2015-09-10T16:54:09.000Z
^((((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))\s*([,;\s*]|$)+)*
192.168.3.1 ; 192.168.1.2 ,
multiple IPv4 separated by , or ;
2015-11-17T22:39:28.000Z
(?i)EDIResources\/EDINews\.aspx(\?urlid=([a-zA-Z0-9_.-]+).*)
www.1edisource.com/ediresources/edinews.aspx?urlid=123 www.1edisource.com/ediresources/edinews.aspx?urlid=123&gclid=jjj www.1edisource.com/ediresources/edinews.aspx
Resource - EDI News
2018-08-28T01:39:07.000Z
^(\w{3}\s*\d)\s*(\d\d:\d\d:\d\d)\s*(\w+)
Aug 1 18:27:49 knight sshd[20327]: Failed password for illegal user guest from 218.49.183.17 port 49090 ssh2 Aug 1 18:27:49 knight sshd[20327]: error: Could not get shadow information for NOUSER Aug 1 18:27:52 knight sshd[20329]: Failed password for admin from 218.49.183.17 port 49266 ssh2 Aug 1 18:27:56 knight sshd[20331]: Failed password for admin from 218.49.183.17 port 49468 ssh2 Aug 1 18:27:58 knight sshd[20334]: Illegal user user from 218.49.183.17 Aug 1 18:27:59 knight sshd[20334]: Failed password for illegal user user from 218.49.183.17 port 49680 ssh2 Aug 1 18:27:59 knight sshd[20334]: error: Could not get shadow information for NOUSER Aug 1 18:28:02 knight sshd[20336]: Failed password for root from 218.49.183.17 port 49869 ssh2 Aug 1 18:28:05 knight sshd[20347]: Failed password for root from 218.49.183.17 port 50063 ssh2 Aug 1 18:28:12 knight sshd[20349]: Failed password for root from 218.49.183.17 port 50245 ssh2 Aug 1 18:28:14 knight sshd[20352]: Illegal user test from 218.49.183.17 Aug 1 18:28:19 knight sshd[20352]: Failed password for illegal user test from 218.49.183.17 port 50671 ssh2 Aug 1 18:28:19 knight sshd[20352]: error: Could not get shadow information for NOUSER Aug 1 18:29:55 knight sshd[20402]: Illegal user test from 218.49.183.17 Aug 1 18:29:56 knight sshd[20402]: Failed password for illegal user test from 218.49.183.17 port 52244 ssh2 Aug 1 18:29:56 knight sshd[20402]: error: Could not get shadow information for NOUSER Aug 1 18:29:58 knight sshd[20404]: Illegal user guest from 218.49.183.17 Aug 1 18:30:02 knight sshd[20406]: Illegal user test from 218.49.183.17 Aug 1 18:30:03 knight sshd[20404]: Failed password for illegal user guest from 218.49.183.17 port 52416 ssh2 Aug 1 18:30:03 knight sshd[20404]: error: Could not get shadow information for NOUSER Aug 1 18:30:03 knight sshd[20406]: Failed password for illegal user test from 218.49.183.17 port 52558 ssh2 Aug 1 18:30:03 knight sshd[20406]: error: Could not get shadow information for NOUSER Aug 1 18:30:05 knight sshd[20439]: Failed password for illegal user guest from 218.49.183.17 port 52818 ssh2 Aug 1 18:30:05 knight sshd[20439]: Illegal user guest from 218.49.183.17 Aug 1 18:30:05 knight sshd[20439]: error: Could not get shadow information for NOUSER Aug 1 18:30:06 knight sshd[20441]: Failed password for admin from 218.49.183.17 port 52851 ssh2 Aug 1 18:30:08 knight sshd[20443]: Failed password for admin from 218.49.183.17 port 53014 ssh2 Aug 1 18:30:09 knight sshd[20445]: Failed password for admin from 218.49.183.17 port 53040 ssh2 Aug 1 18:30:11 knight sshd[20447]: Failed password for admin from 218.49.183.17 port 53192 ssh2
toby regex
2018-06-25T12:09:43.000Z
(<)(\w+)(,\s)(.+)(,\>)
<IccId, nvarchar(50),> ,<DeliveryNumber, nvarchar(10),> ,<DeliveryPosition, int,> ,<ItemCreationDate, smalldatetime,> ,<PlannedDeliveryDate, smalldatetime,> ,<CableLength, float,> ,<CableLengthUm, nvarchar(3),> ,<GrossWeight, float,> ,<GrossWeightUm, nvarchar(3),> ,<NetWeight, float,> ,<NetWeightUm, nvarchar(3),> ,<SalesOrganization, nvarchar(4),> ,<ShipToCode, nvarchar(10),> ,<ShipToName, nvarchar(40),> ,<ShipToStreet, nvarchar(60),> ,<ShipToHouseNumber, nvarchar(10),> ,<ShipToPostalCode, nvarchar(10),> ,<ShipToCity, nvarchar(40),> ,<ShipToCountry, nvarchar(3),> ,<ShipToRegion, nvarchar(3),> ,<DeliveryPlantNumber, nvarchar(4),> ,<CableMaterialCode, nvarchar(18),> ,<CableBatchNumber, nvarchar(10),> ,<CableNominalDiameter, float,> ,<CableNominalDiameterUm, nvarchar(3),> ,<CableName, nvarchar(40),> ,<CableProductionDate, smalldatetime,> ,<CableProductionPlant, nvarchar(4),> ,<CableSection, float,> ,<CableSectionUm, nvarchar(3),> ,<CableSectionMultiplier, float,> ,<Voltage, float,> ,<VoltageMu, nvarchar(3),> ,<DrumNumber, nvarchar(18),> ,<DrumType, nvarchar(18),> ,<DrumCoreDiameter, float,> ,<DrumCoreDiameterUm, nvarchar(3),> ,<DrumInnerWidth, float,> ,<DrumInnerWidthUm, nvarchar(3),> ,<DrumWeight, float,> ,<DrumWeightUm, nvarchar(3),> ,<CustomerPurchaseOrderNumber, nvarchar(20),> ,<CustomerName, nvarchar(35),> ,<CustomerNumber, nvarchar(10),> ,<CustomerMaterialNumber, nvarchar(35),> ,<SalesOrderNumber, nvarchar(10),> ,<SalesOrderPosition, nvarchar(6),> ,<TotalSpins, float,>
SSMS Parameter Extraction
2018-07-05T09:04:36.000Z
www.4shared.com
((http(s)?|ftp)?:\/\/|www\.)dc([0-9])+\.4shared\.com\/([a-z0-9\/@#$,%*_-])+\.?(mp3|mp4|pdf|txt|doc|pps|epub|png|gif|jpg|jpeg|3gp|avi|mpg|wmv|mov|mkv|apk)?
http://dc778.4shared.com/img/4wW4UT5jba/9f90279b/dlink__2Fdownload_2F4wW4UT5jba_3Ftsid_3D20150615-114008-b7f2dbf8_26lgfp_3D1000_26sbsr_3D7c546ac8da497fae73b10095dc49e8d24e610417724fcf65/preview.wmv
4shared
2015-06-24T05:50:31.000Z
(?:\+33|\(\+33\)|0)(?:-| |)([0-9]{1})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})(?:-| |)([0-9]{2})
0123456789 +33123456789 (+33)4 98 74 44 44
French phone number
2014-05-01T04:20:40.000Z
\/(watch\?v=|embed\/)([\d\w-_]+)
[email protected] [email protected] https://www.youtube.com/watch?v=C8UMTmUbxTI http://www.youtube.com/watch?v=C8UMTmUbxTI www.youtube.com/embed/C8UMTmUbxTI www.youtube.com.br/embed/C8UMTmUbxTI?rel=0 m.youtube.com/watch?v=C8UMTmUbxTI
youtube id watch embed
2014-11-21T16:46:13.000Z
Captura la familia de las motos Ducati
(?<=https:\/\/www\.ducati\.com\/es\/es\/motocicletas\/)[a-z].+(?=\/)
https://www.ducati.com/es/es/motocicletas/monster/monster-797 https://www.ducati.com/es/es/motocicletas/diavel/diavel-1260 https://www.ducati.com/es/es/motocicletas/hypermotard/hypermotard https://www.ducati.com/es/es/motocicletas/hypermotard/hypermotard-950 https://www.ducati.com/es/es/motocicletas/monster/monster-1200 https://www.ducati.com/es/es/motocicletas/monster/monster-1200-25-anniversario https://www.ducati.com/es/es/motocicletas/monster/monster-1200r https://www.ducati.com/es/es/motocicletas/monster/monster-797 https://www.ducati.com/es/es/motocicletas/monster/monster-821 https://www.ducati.com/es/es/motocicletas/multistrada/multistrada-1260 https://www.ducati.com/es/es/motocicletas/multistrada/multistrada-1260-enduro https://www.ducati.com/es/es/motocicletas/multistrada/multistrada-950 https://www.ducati.com/es/es/motocicletas/multistrada/multistrada-enduro https://www.ducati.com/es/es/motocicletas/panigale/1299-panigale-r-final-edition https://www.ducati.com/es/es/motocicletas/panigale/959-panigale https://www.ducati.com/es/es/motocicletas/panigale/panigale-v4 https://www.ducati.com/es/es/motocicletas/panigale/panigale-v4-r https://www.ducati.com/es/es/motocicletas/supersport/supersport https://www.ducati.com/es/es/motocicletas/xdiavel/xdiavel
Capturar familia
2018-12-05T12:28:08.000Z
find lat longs
-*[0-9]+[.]*[0-9]*
156.32343234124 dfsfsf -123.32424124 esfdfd 32.2342523
find lat longs
2016-09-02T11:54:13.000Z
^(أمي|امي|الوالدة|ماما|أبي|أبوي|بابا|نبع الحنان|تاج الر[اأ]|تاج ر[اأ]سي)[ \.\r\n\-]?
Mom My Mother Hassan Mother Ahmed Mom Mother Daddy امي أمي أم حسن أمي الحنون (?<! )\b(mom|mother|dad|father|mommy|daddy) أمي|الوالدة|نبع الحنان|ماما|أبي|أبوي|الوالد|تاج الراس|بابا
Unuseful names
2017-02-16T04:36:13.000Z
Audit (?P<audit_outcome>(Success|Failure)),(?P<log_date>.*),Microsoft-Windows-Eventlog,(?P<event_id>\d+),(?P<category>.*),(?P<event_message>.*)
Audit Success,08/08/2017 16:22:09,Microsoft-Windows-Eventlog,1100,Service shutdown,The event logging service has shut down.
Event ID:1100
2017-10-06T06:36:42.000Z
(class|struct)[\s]+[\w]+([\s]+[\w]+|)([\s]+[\w]+|)(\:\:[\s]*[\w]+|)(\:\:[\s]*[\w]+|)(\:\:[\s]*[\w]+|)[\s]*:[\s]*(public|private|protected)[\s]+[\w]+(\:\:[\s]+[\w]+|)(\,[\s]*(public|private|protected)[\s]+[\w]+(\:\:[\s]*[\w]+|)|)[.\s]*[\{.\s\w,]*DECLARE_CLASS_INFO
DECLARE_CLASS_INFO
2020-10-07T07:56:50.000Z
(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|June?|July?|Aug(ust)?|Sep(t(ember)?)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)[ ](3[01]|[12][0-9]|[0][1-9]|[1-9])[,][ ](20\d{2})
The owners of this address received a permit on Wednesday, June 12, 2014
Match Date with Month spelled out
2014-09-02T12:12:06.000Z
I've looked at some of the other IP matching that seems a lot more complex but several of them don't work, and I'm too simple minded to figure out why. Keep it simple, I've never had a problem matching IP addresses in logs with this one.
\d+\.\d+\.\d+\.\d+
<div>Please send such and such files to IP 161.134.220.122 Thanks in advance.</div>
Basic IP matching
2015-06-17T18:33:07.000Z
^\d{10}-\d{3}$
989891832213213 987-12-1234 12-2343244 123123--123 1234567890-123 1234476895-120
1234567890-123
2016-04-12T02:31:24.000Z
<\/?[^>]*>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title>Online regex tester and debugger: JavaScript, Python, PHP, and PCRE</title> <link href="//fonts.googleapis.com/css?family=Open+Sans:400,700,300&amp;subset=latin" rel="stylesheet" type="text/css"> <link href="/css/A.main.1436803526.css.pagespeed.cf.U-YlBZVXI2.css" rel="stylesheet" type="text/css"> <link type="text/plain" rel="author" href="//regex101.com/humans.txt"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="keywords" content="javascript,regex,regular expression,debugger,explainer,helper,tester,match,pcre,python,editor"> <meta name="description" content="Online regex tester, debugger with highlighting for PHP, PCRE, Python and JavaScript."> <meta name="author" content="Firas Dib"> <meta property="twitter:card" content="summary"> <meta property="twitter:site" content="@regex101"> <meta property="twitter:title" content="Regex101 - online regex editor and debugger"> <meta property="twitter:description" content="Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, JavaScript and Python. The website also features a community where you can share useful expressions."> <meta property="twitter:creator" content="@regex101"> <meta property="twitter:image" content="//regex101.com/gfx/preview.png"> <meta property="twitter:domain" content="regex101.com"> </head> <body class="box_overflow_fix light default" spellcheck="false"> <div id="header_parent"> <div id="header"> <div id="header_menu"> <a target="_blank" href="https://twitter.com/regex101" original-title=""><i class="fa fa-twitter-square "></i><span class="large_menu">RegEx101</span></a> <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=firas%2edib%40gmail%2ecom&amp;lc=US&amp;item_name=Regex101&amp;no_note=0&amp;currency_code=USD&amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest" original-title=""><i class="fa fa-dollar"></i><span class="large_menu">Donate</span></a> <a target="_blank" href="mailto:[email protected]" original-title=""><i class="fa fa-send"></i><span class="large_menu">Contact</span></a> <a target="_blank" href="https://github.com/firasdib/Regex101/issues" original-title=""><i class="fa fa-exclamation-triangle"></i><span class="large_menu">Bug reports &amp; Suggestions</span></a> <div id="settings_popup"> <span class="fa-stack fa-lg" id="settings" title="Adjust settings and theme"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-wrench fa-stack-1x"></i> </span> <span class="fa-stack fa-lg" id="sign_in_out" title="Sign in"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-sign-in fa-stack-1x"></i> </span> </div> </div> <div class="text_overflow"> <h1 id="logo"> <a href="/"> <div id="large_header"><span class="part1">regular</span> <span class="part2">expressions</span> <span class="part3">101</span></div> <div id="small_header"><span class="part1">reg</span><span class="part2">ex</span> <span class="part3">101</span></div> </a> </h1> <ul id="header_nav"> <li class="fullscreen header_nav active main_menu main" data-id="40" original-title=""> <i class="fa fa-terminal"></i><span class="large_menu">Regex Tester</span> </li> <li class="fullscreen header_nav main_menu community" data-id="43" original-title=""> <i class="fa fa-cloud"></i><span class="large_menu">Regex Library</span> </li> <li class="fullscreen header_nav main_menu" data-id="42" original-title=""> <a target="_blank" href="http://webchat.freenode.net/?nick=regex101-....&amp;channels=regex" id="irc"> <i class="fa fa-comments"></i><span class="large_menu">IRC</span> </a> </li> </ul> </div> </div> </div> <div id="settings_popup_contents"> <div class="left"> <div class="label"><i class="fa fa-gear settings"></i> General Settings</div> <input type="checkbox" id="display_whitespace" name="display_whitespace" tabindex="999" value="1" data-id="1"> <label class="design_label" for="display_whitespace"> <span></span>Display Whitespace </label> <input type="checkbox" id="small_menu" name="small_menu" tabindex="999" value="1" data-id="201"> <label class="design_label" for="small_menu"> <span></span>Use minimal view </label> <div class="label"><i class="fa fa-picture-o theme"></i> Theme</div> <input type="radio" id="light_theme" name="theme" tabindex="999" value="1" data-id="203" checked="checked"> <label class="design_label" for="light_theme"> <span></span>Use light theme </label> <input type="radio" id="dark_theme" name="theme" tabindex="999" value="1" data-id="200"> <label class="design_label" for="dark_theme"> <span></span>Use dark theme </label> </div> <div class="right"> <div id="colorizer_themes"> <div class="label"><i class="fa fa-terminal regex"></i> Regex Settings</div> <input type="checkbox" id="colorize_regex" name="colorize_regex" tabindex="999" value="1" data-id="9"> <label class="design_label" for="colorize_regex"> <span></span>Colorize syntax </label> <div class="select_themes"> <strong>Theme:</strong> <select class="light_themes" data-id="999"> <option value="default">Default</option> <option value="default_light">Default - Light</option> </select><select class="dark_themes" data-id="999"> <option value="default">Default</option> </select> </div> <input type="checkbox" id="smart_completion" name="smart_completion" tabindex="999" value="1" data-id="210"> <label class="design_label" for="smart_completion"> <span></span>Enable smart auto-completion </label> <input type="checkbox" id="wrap_newlines" name="wrap_newlines" tabindex="999" value="1" data-id="10"> <label class="design_label" for="wrap_newlines"> <span></span>Wrap long lines </label> <input type="checkbox" id="highlight_interaction" name="highlight_interaction" tabindex="999" value="0" data-id="220"> <label class="design_label" for="highlight_interaction"> <span></span>Highlight groups </label> <input type="checkbox" id="display_nonpart" name="display_nonpart" tabindex="999" value="0" data-id="221"> <label class="design_label" for="display_nonpart"> <span></span>Show non-participating groups </label> <div class="execution_limit"> <label class="design_label" for="execution_limit">Max execution time:</label> <input type="text" name="execution_limit" id="execution_limit" placeholder="2000" original-title=""><em>ms</em> </div> </div> <!--li id="dark_theme" data-id="200" class="menu_item"> <i class="fa fa-picture-o"></i><span class="large_menu">Use dark theme</span> </li--> </div> <div class="arrow-box-tip reverse"></div> </div> <div class="denial_of_service" id="splash" style="display: none;"> <div> Initializing editor, please stand by... <i class="fa fa-cog fa-spin"></i> </div> </div> <div class="denial_of_service" id="loading_screen"> <div> Loading content, please hold... <i class="fa fa-cog fa-spin"></i> </div> </div> <noscript> &lt;div class="denial_of_service"&gt; &lt;div&gt; It seems like you have JavaScript disabled, rendering this website virtually useless. Please enable JavaScript to use this service. If you don't know how, try &lt;a href="http://enable-javascript.com/"&gt;this&lt;/a&gt;. &lt;/div&gt; &lt;/div&gt; </noscript> <div class="denial_of_service" id="old_browser"> <div>You seem to be using an outdated version of your browser which is no longer supported by <strong>regex101.com</strong>. It is highly recommended that you upgrade your browser. Sorry for the inconvenience.</div> </div> <div id="inline_menu" class="box_overflow_fix general_menu"> <ul class="first-ul overflow_handler"> <li class="regex_menu extension_menu share_menu"> <ul> <li class="menu_notice">Save &amp; Share</li> <li id="permalink_menu" class="menu_item" data-id="3" data-permalink="" data-version="" original-title=""> <i class="fa fa-save"></i><span class="large_menu">Save Regex (CTRL+S)</span> </li> <li id="permalink_fork" class="menu_item" data-id="900" style="display: none;" original-title=""> <i class="fa fa-code-fork"></i><span class="large_menu">Fork Regex</span> </li> <li class="menu_item unique" data-id="4" id="community_submit" original-title=""> <i class="fa fa-cloud-upload"></i><span class="large_menu">Add to Regex Library</span> </li> </ul> </li> <li class="regex_menu extension_menu no_top_space"> <ul> <li class="menu_notice">Flavor</li> <li class="flavor_pcre menu_item active" data-id="20" original-title=""> <span class="mini_menu">PCRE</span> <span class="large_menu"><i class="fa fa-file"></i>PCRE (PHP)</span> </li> <li class="flavor_js menu_item " data-id="21" original-title=""> <span class="mini_menu">JS</span> <span class="large_menu"><i class="fa fa-file"></i>JavaScript</span> </li> <li class="flavor_python menu_item " data-id="22" original-title=""> <span class="mini_menu">PY</span> <span class="large_menu"><i class="fa fa-file"></i>Python</span> </li> </ul> </li> <li class="regex_menu extension_menu" id="tools_menu"> <ul> <li class="menu_notice">Tools</li> <li class="menu_item" data-id="50" id="format_regex" original-title=""> <i class="fa fa-indent"></i><span class="large_menu">Format Regex (requires free-spacing, /x)</span> </li> <li class="menu_item unique fullscreen menu_toggle" data-id="8" id="sample_menu" original-title=""> <i class="fa fa-code"></i><span class="large_menu">Code Generator</span> </li> <li class="menu_item unique fullscreen menu_toggle" data-id="7" id="debugger_menu" original-title=""> <i class="fa fa-bug"></i><span class="large_menu">Regex Debugger</span> </li> <li class="menu_item menu_toggle" data-id="99" id="unit_tests" original-title=""> <i class="fa fa-check"></i><span class="large_menu"><span class="unit_test_player" style="display: none;"><i class="fa fa-play run_tests" title="Run tests (CTRL+K)" original-title="Run tests"></i><span class="unit_result">n/a</span><span class="unit_progress"></span></span><span class="text_overflow">Unit tests</span></span> </li> </ul> </li> <li id="filter_menu" class="extension_menu community_menu no_top_space"> <ul> <li class="menu_notice">Filter flavors</li> <li class="flavor_pcre menu_item active" data-id="100" data-flavor-id="1" original-title=""> <span class="mini_menu">PCRE</span> <span class="large_menu"><i class="fa fa-file"></i>PCRE (PHP)</span> </li> <li class="flavor_js menu_item active" data-id="101" data-flavor-id="2" original-title=""> <span class="mini_menu">JS</span> <span class="large_menu"><i class="fa fa-file"></i>JavaScript</span> </li> <li class="flavor_python menu_item active" data-id="102" data-flavor-id="3" original-title=""> <span class="mini_menu">PY</span> <span class="large_menu"><i class="fa fa-file"></i>Python</span> </li> </ul> </li> <li class="account_submenu extension_menu"> <ul> <li class="menu_notice">Filter type</li> <li class="menu_item active" data-id="300" id="only_fav" original-title=""><i class="fa fa-star"></i><span class="large_menu">View favorites</span></li> <li class="menu_item active" data-id="301" id="only_contrib" original-title=""><i class="fa fa-bookmark-o"></i><span class="large_menu">View contributions</span></li> </ul> </li> <li class="donate_submenu extension_menu"> <ul> <li class="menu_item" original-title=""><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=firas%2edib%40gmail%2ecom&amp;lc=US&amp;item_name=Regex101&amp;no_note=0&amp;currency_code=USD&amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest"><i class="fa-dollar fa"></i><span class="large_menu" data-txt="Thank you!">Consider a donation</span></a></li> </ul> </li> </ul> </div> <div id="content"> <div id="community" class="box_overflow_fix extension_window"></div> <div id="account" class="box_overflow_fix extension_window"></div> <div id="regex_editor" class="box_overflow_fix"> <div id="code_samples" class="extension_window box_overflow_fix overflow_handler"></div> <div id="regex_debugger" class="box_overflow_fix extension_window"> <div id="regex_debugger_bg" class="box_overflow_fix"> <div class="label" id="debugger_label">Status: Fetching debug info...</div> <div id="label_container" class="monospace"> <input type="checkbox" id="show_regex_pos" name="show_regex_pos" tabindex="999" value="1" checked="checked"> <label class="design_label" for="show_regex_pos"> <span></span>Display position in pattern </label> <input type="checkbox" id="internal_opt" name="internal_opt" tabindex="999" value="1"> <label class="design_label" for="internal_opt"> <span></span>Disable internal engine optimizations </label> <a href="#" id="debugger_collapse">collapse all</a> </div> </div> <div id="regex_debugger_window" class="overflow_handler"> <div class="debugger_loader_padding"></div> </div> </div> <div id="main_editor" class="flex-container box_overflow_fix"> <div id="regex_container" class="flex-regex box_overflow_fix"> <label for="regex"> Regular Expression <div id="version_container" style="display: none;"> — <select id="version_selector"> </select> </div> <span id="result_indicator" class="no_match">no match</span> </label> <div id="regex_input" class="box_overflow_fix richtext_parent"> <div id="delimiter_selector" class="richtext_left slash_menu slash box_overflow_fix" data-dropdown=".delimiter-dropdown">/</div> <div class="richtext_right"> <div class="slash slash_menu" data-dropdown=".delimiter-dropdown">/</div><!-- --><div id="options_container"> <input data-focus="#options_container" value="" id="options" name="options" size="20" tabindex="2" type="text" placeholder="gmixXsuUAJ"> <i id="options_helper" class="fa fa-question-circle"></i> </div> <div id="options_helper_contents" style="width: 165px; left: 10px; top: 98px; display: none;"><div class="label">Modifier quick reference</div><ul id="quickref_flags"><li><div class="file"><span class="modifier">g modifier:</span> <strong>g</strong>lobal. All matches (don't return on first match)</div></li><li><div class="file"><span class="modifier">m modifier:</span> <strong>m</strong>ulti-line. Causes <span class="misc">^</span> and <span class="misc">$</span> to match the begin/end of each line (not only begin/end of string)</div></li><li><div class="file"><span class="modifier">i modifier:</span> <strong>i</strong>nsensitive. Case insensitive match (ignores case of <span class="treeCharclass">[a-zA-Z]</span>)</div></li><li><div class="file"><span class="modifier">x modifier:</span> e<strong>x</strong>tended. Spaces and text after a <span class="misc">#</span> in the pattern are ignored</div></li><li><div class="file"><span class="modifier">X modifier:</span> e<strong>X</strong>tra. A <span class="misc">\</span> followed by a letter with no special meaning is faulted</div></li><li><div class="file"><span class="modifier">s modifier:</span> <strong>s</strong>ingle line. Dot matches newline characters</div></li><li><div class="file"><span class="modifier">u modifier:</span> <strong>u</strong>nicode: Pattern strings are treated as <span class="misc">UTF-16</span>. Also causes escape sequences to match unicode characters</div></li><li><div class="file"><span class="modifier">U modifier:</span> <strong>U</strong>ngreedy. The match becomes lazy by default. Now a <span class="misc">?</span> following a quantifier makes it greedy</div></li><li><div class="file"><span class="modifier">A modifier:</span> <strong>A</strong>nchored. Pattern is forced to <span class="misc">^</span></div></li><li><div class="file"><span class="modifier">J modifier:</span> Allow duplicate subpattern names</div></li><li><em>All flags with further information can be found in the quick reference.</em></li></ul></div> </div> <div class="richtext_padding"> <div class="richtext_container" id="richtext_regex_container"> <div class="richtext" id="richtext_regex"> <pre><span class="colorizer_height">&lt;html&gt;.*&lt;\/html&gt;</span><br></pre> <pre id="regex_colors"><span>&lt;html&gt;.*&lt;\/html&gt;</span><br></pre> <textarea data-focus="#richtext_regex_container" spellcheck="false" id="regex" name="regex" tabindex="1" rows="1" cols="50" placeholder="insert your regular expression here" autofocus="autofocus" wrap="true"></textarea> </div> </div> </div> </div> </div> <div id="test_result_container" class="box_overflow_fix flex-text "> <label for="regex_string">Test string</label> <div class="overflow_handler flex-grow"> <div class="richtext" id="richtext_test"> <pre><span id="richtext_test_size"></span><br>&nbsp;</pre> <pre id="richtext_test_colors"><span id="test_color_element"></span><br></pre> <textarea wrap="true" data-focus="#test_result_container .overflow_handler" spellcheck="false" id="regex_string" class="box_overflow_fix" name="test" rows="10" tabindex="3" placeholder="insert your test string here"></textarea> </div> </div> </div> <div id="subst_parent" class="box_overflow_fix flex-sub "> <label for="sub" class="expander collapsed"> <span class="fa fa-plus-circle"></span>Substitution </label> <div id="subst_container" class="overflow_handler flex-grow"> <div class="basic_richtext box_overflow_fix regex_colorizer" id="basic_richtext_sub"><div class="basic_richtext_scroller"><pre class="basic_richtext_pre box_overflow_fix"><span></span>&nbsp;</pre><input class="box_overflow_fix" value="" id="sub" name="sub" tabindex="3" type="text" placeholder="substitution; \num = backreference, \n = newline, \t = tab" data-focus="#basic_richtext_sub"></div></div> <div id="subst_area" class="overflow_handler flex-grow"> <div contenteditable="true" id="subst_result" class="monospace hard_break box_overflow_fix"></div> </div> </div> </div> <div id="unit_tests_builder" class="box_overflow_fix flex-unit-builder"> <div class="label">Create test<div class="right"><a href="#" class="button" tabindex="23">Add test</a></div></div> <div id="unit_test_creator" class="box_overflow_fix"> <div class="test_builder"> <div class="the_test pt1"> <div class="left">given the string</div> <div class="right"><textarea tabindex="19" class="box_overflow_fix" id="unit_data" placeholder="test string"></textarea></div> </div> <div class="the_test pt2"> <div class="left"><span>assert that</span><select id="unit_type" tabindex="20"></select><select tabindex="21" id="assert_type"></select></div> <div class="right"><textarea tabindex="22" class="box_overflow_fix" id="assert_equals" type="text" placeholder="string value"></textarea></div> </div> </div> </div> </div> <div id="unit_tests_list" class="box_overflow_fix flex-unit-list"> <div class="label">Test list<div class="right unit_test_player" style="display: none;"><i class="fa fa-play run_tests" title="Run tests (CTRL+K)" original-title="Run tests"></i><span class="unit_result">n/a</span></div></div> <div id="unit_test_window" class="unit_test_window flex-grow overflow_handler"> <div class="all_tests"> <div id="unit_test_container"><div class="empty"><h2>Nothing here!</h2><span class="acount_no_entry_text">There are no unit tests for this regex. Add some!</span></div></div> </div> </div> </div> </div> <div id="regex_treeview" class="box_overflow_fix"> <div id="treeview_resizer" original-title="Keep dragging"><div></div></div> <div id="treeview_content" class="box_overflow_fix flex-container"> <div id="scroll_treeview" class="box_overflow_fix flex-elem"> <div id="explainer_label" class="label expander"> <span class="fa fa-minus-circle"></span>Explanation </div> <div class="overflow_handler box_overflow_fix flex-grow"> <div id="treeview" style="height: 100%"><ul id="regexExplainer" class="filetree treeview"><li><div class="hitarea collapsable"><i class="fa fa-caret-down"></i></div><div class="first-folder"><div><span class="expslash">/</span><span class="treeview_pattern regex_colorizer">&lt;html&gt;.*&lt;\/html&gt;</span><span class="expslash">/</span><span class="treeview_pattern treeview_options"></span></div></div><ul><li><div class="file"><span class="token">&lt;html&gt;</span> matches the characters <span class="literal">&lt;html&gt;</span> literally (case sensitive)</div></li><li><div class="hitarea collapsable"><i class="fa fa-caret-down"></i></div><div class="folder"><span class="token">.*</span> matches any character (except newline)</div><ul><li><div class="file"><span class="note">Quantifier:</span> <span class="inner-quantifier">*</span> Between <span class="quantifier">zero</span> and <span class="quantifier">unlimited</span> times, as many times as possible, giving back as needed <span class="misc">[greedy]</span></div></li></ul></li><li><div class="file"><span class="token">&lt;</span> matches the characters <span class="literal">&lt;</span> literally</div></li><li><div class="file"><span class="token">\/</span> matches the character <span class="literal">/</span> literally</div></li><li><div class="file"><span class="token">html&gt;</span> matches the characters <span class="literal">html&gt;</span> literally (case sensitive)</div></li></ul></li></ul></div> </div> </div> <div id="scroll_match" class="box_overflow_fix flex-elem"> <div id="match_label" class="label expander"> <span class="fa fa-minus-circle"></span>Match information </div> <div class="overflow_handler box_overflow_fix flex-grow"> <div id="match_info"><div>Your pattern does <strong class="errorize_text">not</strong> match the subject string.</div></div> </div> </div> <div id="quickref" class="box_overflow_fix flex-elem"> <div class="label expander"> <span class="fa fa-minus-circle"></span>Quick reference </div> <div id="quickref_data" class="flex-grow"> <div id="first_menu" class="box_overflow_fix general_menu"> <ul> <li class="menu_notice"> <div class="filter_input filter_mini box_overflow_fix" id="quickref_filter_parent"> <i class="fa fa-search"></i> <div class="filter_div"> <input data-focus="#quickref_filter_parent" type="text" id="quickref_filter" class="filter_parent box_overflow_fix" name="quickref_filter" value="" placeholder="filter"> </div> </div> <span class="text_overflow" style="margin-right: 5px;">Full reference</span> </li> <li class="menu_item" data-id="basic"><i class="fa fa-star"></i>Most used tokens</li> <li class="menu_item active" data-id="fullref"><i class="fa fa-database"></i>All tokens</li> <li class="menu_notice">Categories</li> <li class="menu_item" data-id="other"><i class="fa fa-dot-circle-o"></i>General tokens</li> <li class="menu_item" data-id="anchors"><i class="fa fa-anchor"></i>Anchors</li> <li class="menu_item" data-id="meta"><i class="fa fa-bolt"></i>Meta sequences</li> <li class="menu_item" data-id="quantifiers"><i class="fa fa-asterisk"></i>Quantifiers</li> <li class="menu_item" data-id="groups"><i class="fa fa-dot-circle-o"></i>Group constructs</li> <li class="menu_item" data-id="charclass"><i class="fa fa-th-large"></i>Character classes</li> <li class="menu_item" data-id="modifiers"><i class="fa fa-flag"></i>Flags/Modifiers</li> <li class="menu_item" data-id="subst"><i class="fa fa-scissors"></i>Substitution</li> <li class="menu_item" id="quickref_search"><i class="fa fa-search"></i>Search result</li> </ul> </div> <div id="second_menu" class="no_icon box_overflow_fix general_menu overflow_handler"> <ul class="no_icon"><li class="menu_notice">All tokens</li><li class="menu_item box_overflow_fix" data-id="0"><div>\n</div><div class="text_overflow">Newline</div></li><li class="submenu">Matches a newline character</li><li class="menu_item box_overflow_fix" data-id="1"><div>\r</div><div class="text_overflow">Carriage return</div></li><li class="submenu">Matches a carriage return character</li><li class="menu_item box_overflow_fix" data-id="2"><div>\t</div><div class="text_overflow">Tab</div></li><li class="submenu">Matches a tab character</li><li class="menu_item box_overflow_fix" data-id="3"><div>\0</div><div class="text_overflow">Null character</div></li><li class="submenu">Matches a null character</li><li class="menu_item box_overflow_fix" data-id="4"><div>[abc]</div><div class="text_overflow">A single character of: a, b or c</div></li><li class="submenu">Matches either an a, b or c character<div class="quickref_label">/[abc]+/</div><div class="quickref_regex hard_break"><b>a</b> <b>bb</b> <b>ccc</b></div></li><li class="menu_item box_overflow_fix" data-id="5"><div>[^abc]</div><div class="text_overflow">A character except: a, b or c</div></li><li class="submenu">Matches any character except for an a, b or c<div class="quickref_label">/[^abc]+/</div><div class="quickref_regex hard_break"><b>Anything </b>b<b>ut </b>abc<b>.</b></div></li><li class="menu_item box_overflow_fix" data-id="6"><div>[a-z]</div><div class="text_overflow">A character in the range: a-z</div></li><li class="submenu">Matches any characters between a and z, including a and z<div class="quickref_label">/[a-z]+/</div><div class="quickref_regex hard_break">O<b>nly</b> <b>a</b>-<b>z</b></div></li><li class="menu_item box_overflow_fix" data-id="7"><div>[^a-z]</div><div class="text_overflow">A character not in the range: a-z</div></li><li class="submenu">Matches any characters except one in the range a-z<div class="quickref_label">/[^a-z]+/</div><div class="quickref_regex hard_break"><b>A</b>nything<b> </b>but<b> </b>a<b>-</b>z<b>.</b></div></li><li class="menu_item box_overflow_fix" data-id="8"><div>[a-zA-Z]</div><div class="text_overflow">A character in the range: a-z or A-Z</div></li><li class="submenu">Matches any characters between a-z or A-Z. You can combine as much as you please.<div class="quickref_label">/[a-zA-Z]+/</div><div class="quickref_regex hard_break"><b>abc</b>123<b>DEF</b></div></li><li class="menu_item box_overflow_fix" data-id="9"><div>[[:alnum:]]</div><div class="text_overflow">Letters and digits</div></li><li class="submenu">An alternate way to match any letter or digit<div class="quickref_label">/[[:alnum:]]/</div><div class="quickref_regex hard_break"><b>1st</b>, <b>2nd</b>, <b>and</b> <b>3rd</b>.</div></li><li class="menu_item box_overflow_fix" data-id="10"><div>[[:alpha:]]</div><div class="text_overflow">Letters</div></li><li class="submenu">An alternate way to match alpanumeric letters<div class="quickref_label">/[[:alpha:]]+/</div><div class="quickref_regex hard_break"><b>hello</b>, <b>there</b>!</div></li><li class="menu_item box_overflow_fix" data-id="11"><div>[[:ascii:]]</div><div class="text_overflow">Ascii codes 0-127</div></li><li class="submenu">Matches any character in the valid ASCII range</li><li class="menu_item box_overflow_fix" data-id="12"><div>[[:blank:]]</div><div class="text_overflow">Space or tab only</div></li><li class="submenu">Matches spaces and tabs (but not newlines)<div class="quickref_label">/[[:blank:]]/</div><div class="quickref_regex hard_break">a<b> </b>b<b> </b>c</div></li><li class="menu_item box_overflow_fix" data-id="13"><div>[[:cntrl:]]</div><div class="text_overflow">Control characters</div></li><li class="submenu">Matches characters that are often used to control text presentation, including newlines, null characters, tabs and the escape character. Equivalent to [\x00-\x1F\x7F].</li><li class="menu_item box_overflow_fix" data-id="14"><div>[[:digit:]]</div><div class="text_overflow">Decimal digits</div></li><li class="submenu">Matches decimal digits. Equivalent to [0-9].<div class="quickref_label">/[[:digit:]]/</div><div class="quickref_regex hard_break">one: <b>1</b>, two: <b>2</b></div></li><li class="menu_item box_overflow_fix" data-id="15"><div>[[:graph:]]</div><div class="text_overflow">Visible characters (not space)</div></li><li class="submenu">Matches printable, non-whitespace characters only.</li><li class="menu_item box_overflow_fix" data-id="16"><div>[[:lower:]]</div><div class="text_overflow">Lowercase letters</div></li><li class="submenu">Matches lowercase letters. Equivalent to [a-z].<div class="quickref_label">/[[:lower:]]+/</div><div class="quickref_regex hard_break"><b>abc</b>DEF<b>ghi</b></div></li><li class="menu_item box_overflow_fix" data-id="17"><div>[[:print:]]</div><div class="text_overflow">Visible characters</div></li><li class="submenu">Matches printable characters, such as letters and spaces, without including control characters.</li><li class="menu_item box_overflow_fix" data-id="18"><div>[[:punct:]]</div><div class="text_overflow">Visible punctuation characters</div></li><li class="submenu">Matches characters that are not whitespace, letters or numbers.<div class="quickref_label">/[[:punct:]]/</div><div class="quickref_regex hard_break">hello<b>,</b> regex user<b>!</b></div></li><li class="menu_item box_overflow_fix" data-id="19"><div>[[:space:]]</div><div class="text_overflow">Whitespace</div></li><li class="submenu">Matches whitespace characters. Equivalent to \s.<div class="quickref_label">/[[:space:]]+/</div><div class="quickref_regex hard_break">any<b> </b>whitespace<b> </b>character</div></li><li class="menu_item box_overflow_fix" data-id="20"><div>[[:upper:]]</div><div class="text_overflow">Uppercase letters</div></li><li class="submenu">Matches uppercase letters. Equivalent to [A-Z].<div class="quickref_label">/[[:upper:]]+/</div><div class="quickref_regex hard_break"><b>ABC</b>abc<b>DEF</b></div></li><li class="menu_item box_overflow_fix" data-id="21"><div>[[:word:]]</div><div class="text_overflow">Word characters</div></li><li class="submenu">Matches letters, numbers and underscores. Equivalent to \w<div class="quickref_label">/[[:word:]]+/</div><div class="quickref_regex hard_break"><b>any</b> <b>word</b> <b>character</b></div></li><li class="menu_item box_overflow_fix" data-id="22"><div>[[:xdigit:]]</div><div class="text_overflow">Hexadecimal digits</div></li><li class="submenu">Matches hexadecimal digits. Equivalent to [0-9a-fA-F].<div class="quickref_label">/[[:xdigit:]]+/</div><div class="quickref_regex hard_break">h<b>e</b>x<b>123</b>!</div></li><li class="menu_item box_overflow_fix" data-id="23"><div>.</div><div class="text_overflow">Any single character</div></li><li class="submenu">Matches any character other than newline (or including newline with the /s flag)<div class="quickref_label">/.+/</div><div class="quickref_regex hard_break"><b>a b c</b></div></li><li class="menu_item box_overflow_fix" data-id="24"><div>\s</div><div class="text_overflow">Any whitespace character</div></li><li class="submenu">Matches any space, tab or newline character.<div class="quickref_label">/\s/</div><div class="quickref_regex hard_break">any<b> </b>whitespace<b> </b>character</div></li><li class="menu_item box_overflow_fix" data-id="25"><div>\S</div><div class="text_overflow">Any non-whitespace character</div></li><li class="submenu">Matches anything other than a space, tab or newline.<div class="quickref_label">/\S+/</div><div class="quickref_regex hard_break"><b>any</b> <b>non-whitespace</b></div></li><li class="menu_item box_overflow_fix" data-id="26"><div>\d</div><div class="text_overflow">Any digit</div></li><li class="submenu">Matches any decimal digit. Equivalent to [0-9].<div class="quickref_label">/\d/</div><div class="quickref_regex hard_break">one: <b>1</b>, two: <b>2</b></div></li><li class="menu_item box_overflow_fix" data-id="27"><div>\D</div><div class="text_overflow">Any non-digit</div></li><li class="submenu">Matches anything other than a decimal digit.<div class="quickref_label">/\D+/</div><div class="quickref_regex hard_break"><b>one: </b>1<b>, two: </b>2</div></li><li class="menu_item box_overflow_fix" data-id="28"><div>\w</div><div class="text_overflow">Any word character</div></li><li class="submenu">Matches any letter, number or underscore.<div class="quickref_label">/\w+/</div><div class="quickref_regex hard_break"><b>any</b> <b>word</b> <b>character</b></div></li><li class="menu_item box_overflow_fix" data-id="29"><div>\W</div><div class="text_overflow">Any non-word character</div></li><li class="submenu">Matches anything other than a letter, number or underscore.<div class="quickref_label">/\W+/</div><div class="quickref_regex hard_break">any<b> </b>word<b> </b>character</div></li><li class="menu_item box_overflow_fix" data-id="30"><div>\X</div><div class="text_overflow">Any unicode sequences</div></li><li class="submenu">Matches any valid unicode sequence</li><li class="menu_item box_overflow_fix" data-id="31"><div>\C</div><div class="text_overflow">Match one data unit</div></li><li class="submenu">Matches exactly one data unit of input</li><li class="menu_item box_overflow_fix" data-id="32"><div>\R</div><div class="text_overflow">Unicode newlines</div></li><li class="submenu">Matches any unicode newline character.</li><li class="menu_item box_overflow_fix" data-id="33"><div>\v</div><div class="text_overflow">Vertical whitespace character</div></li><li class="submenu">Matches newlines and vertical tabs. Works with unicode.</li><li class="menu_item box_overflow_fix" data-id="34"><div>\V</div><div class="text_overflow">Negation of \v</div></li><li class="submenu">Matches anything not matched by \v</li><li class="menu_item box_overflow_fix" data-id="35"><div>\h</div><div class="text_overflow">Horizontal whitespace character</div></li><li class="submenu">Matches spaces and horizontal tabs. Works with unicode.<div class="quickref_label">/\h/</div><div class="quickref_regex hard_break">a<b> </b>b<b> </b>c</div></li><li class="menu_item box_overflow_fix" data-id="36"><div>\H</div><div class="text_overflow">Negation of \h</div></li><li class="submenu">Matches anything not matched by \H.<div class="quickref_label">/\H/</div><div class="quickref_regex hard_break"><b>a</b> <b>b</b> <b>c</b></div></li><li class="menu_item box_overflow_fix" data-id="37"><div>\K</div><div class="text_overflow">Reset match</div></li><li class="submenu">Sets the given position in the regex as the new "start" of the match. This means that nothing preceding the \K will be captured in the overall match.</li><li class="menu_item box_overflow_fix" data-id="38"><div>\n</div><div class="text_overflow">Match nth subpattern</div></li><li class="submenu">Usually referred to as a `backreference`, this will match a repeat of the text captured in a previous set of parentheses.</li><li class="menu_item box_overflow_fix" data-id="39"><div>\pX</div><div class="text_overflow">Unicode property X</div></li><li class="submenu">Matches a unicode character with the given property.<div class="quickref_label">/\pL+/</div><div class="quickref_regex hard_break"><b>any</b> <b>letter</b>!</div></li><li class="menu_item box_overflow_fix" data-id="40"><div>\p{...}</div><div class="text_overflow">Unicode property</div></li><li class="submenu">Matches a unicode character with the given group of properties.<div class="quickref_label">/\p{L}+/</div><div class="quickref_regex hard_break"><b>any</b> <b>letter</b>!</div></li><li class="menu_item box_overflow_fix" data-id="41"><div>\PX</div><div class="text_overflow">Negation of \p</div></li><li class="submenu">Matches a unicode character without the given property.<div class="quickref_label">/\PL/</div><div class="quickref_regex hard_break">any<b> </b>letter<b>!</b></div></li><li class="menu_item box_overflow_fix" data-id="42"><div>\P{...}</div><div class="text_overflow">Negation of \p</div></li><li class="submenu">Matches a unicode character that doesn't have any of the given properties.<div class="quickref_label">/\P{L}/</div><div class="quickref_regex hard_break">any<b> </b>letter<b>!</b></div></li><li class="menu_item box_overflow_fix" data-id="43"><div>\Q...\E</div><div class="text_overflow">Quote; treat as literals</div></li><li class="submenu">Any characters between \Q and \E, including metacharacters, will be treated as literals.<div class="quickref_label">/\Qeverything \w is ^ literal\E/</div><div class="quickref_regex hard_break"><b>everything \w is ^ literal</b></div></li><li class="menu_item box_overflow_fix" data-id="44"><div>\k&lt;name&gt;</div><div class="text_overflow">Match subpattern `name`</div></li><li class="submenu">Matches the text matched by a previously named capture group.</li><li class="menu_item box_overflow_fix" data-id="45"><div>\k'name'</div><div class="text_overflow">Match subpattern `name`</div></li><li class="submenu">This is an alternate syntax for \k&lt;name&gt;.</li><li class="menu_item box_overflow_fix" data-id="46"><div>\k{name}</div><div class="text_overflow">Match subpattern `name`</div></li><li class="submenu">This is an alternate syntax for \k&lt;name&gt;.</li><li class="menu_item box_overflow_fix" data-id="47"><div>\gn</div><div class="text_overflow">Match nth subpattern</div></li><li class="submenu">This matches the text captured in the nth group. n can contain more than one digit, if necessary. This may be useful in order to avoid ambiguity with octal characters.</li><li class="menu_item box_overflow_fix" data-id="48"><div>\g{n}</div><div class="text_overflow">Match nth subpattern</div></li><li class="submenu">This is an alternate syntax for \gn. It can be useful in a situation where a literal number needs to be matched immediately after a \gn in the regex.</li><li class="menu_item box_overflow_fix" data-id="49"><div>\g{-n}</div><div class="text_overflow">Match nth relative subpattern</div></li><li class="submenu">This matches the text captured in the nth group before the current position in the regex.</li><li class="menu_item box_overflow_fix" data-id="50"><div>\g'name'</div><div class="text_overflow">Recurse subpattern `name`</div></li><li class="submenu">Recursively matches the given named subpattern.</li><li class="menu_item box_overflow_fix" data-id="51"><div>\g&lt;n&gt;</div><div class="text_overflow">Recurse nth subpattern</div></li><li class="submenu">Recursively matches the given subpattern.</li><li class="menu_item box_overflow_fix" data-id="52"><div>\g'n'</div><div class="text_overflow">Recurse nth subpattern</div></li><li class="submenu">Alternate syntax for \g&lt;n&gt;</li><li class="menu_item box_overflow_fix" data-id="53"><div>\g&lt;+n&gt;</div><div class="text_overflow">Recurse nth relative subpattern</div></li><li class="submenu">Recursively matches the nth pattern ahead of the current position in the regex.</li><li class="menu_item box_overflow_fix" data-id="54"><div>\g'+n'</div><div class="text_overflow">Recurse nth relative subpattern</div></li><li class="submenu">Alternate syntax for \g&lt;+n&gt;</li><li class="menu_item box_overflow_fix" data-id="56"><div>\xYY</div><div class="text_overflow">Hex character YY</div></li><li class="submenu">Matches the 8-bit character with the given hex value.<div class="quickref_label">/\x20/</div><div class="quickref_regex hard_break">match<b> </b>all<b> </b>spaces</div></li><li class="menu_item box_overflow_fix" data-id="57"><div>\x{YYYY}</div><div class="text_overflow">Hex character YYYY</div></li><li class="submenu">Matches the 16-bit character with the given hex value.</li><li class="menu_item box_overflow_fix" data-id="58"><div>\ddd</div><div class="text_overflow">Octal character ddd</div></li><li class="submenu">Matches the 8-bit character with the given octal value.<div class="quickref_label">/\041/</div><div class="quickref_regex hard_break">ocal escape<b>!</b></div></li><li class="menu_item box_overflow_fix" data-id="59"><div>\cY</div><div class="text_overflow">Control character Y</div></li><li class="submenu">Matches ASCII characters typically associated with the Control+A through Control+Z: \x01 through \x1A</li><li class="menu_item box_overflow_fix" data-id="60"><div>[\b]</div><div class="text_overflow">Backspace character</div></li><li class="submenu">Matches the backspace control character.</li><li class="menu_item box_overflow_fix" data-id="61"><div>\</div><div class="text_overflow">Makes any character literal</div></li><li class="submenu">This may be used to obtain the literal value of any metacharacter.<div class="quickref_label">/\\w/</div><div class="quickref_regex hard_break">match <b>\w</b> literally</div></li><li class="menu_item box_overflow_fix" data-id="62"><div>(...)</div><div class="text_overflow">Capture everything enclosed</div></li><li class="submenu">Parts of the regex enclosed in parentheses may be referred to later in the expression or extracted from the results of a successful match.<div class="quickref_label">/(he)+/</div><div class="quickref_regex hard_break"><b>hehe</b>h <b>he</b> <b>he</b>h</div></li><li class="menu_item box_overflow_fix" data-id="63"><div>(a|b)</div><div class="text_overflow">Match either a or b</div></li><li class="submenu">Matches the a or the b part of the subexpression.</li><li class="menu_item box_overflow_fix" data-id="64"><div>(?:...)</div><div class="text_overflow">Match everything enclosed</div></li><li class="submenu">This construct is similar to (...), but won't create a capture group.<div class="quickref_label">/(?:he)+/</div><div class="quickref_regex hard_break"><b>hehe</b>h <b>he</b> <b>he</b>h</div></li><li class="menu_item box_overflow_fix" data-id="65"><div>(?&gt;...)</div><div class="text_overflow">Atomic group</div></li><li class="submenu">Matches the longest possible substring in the group and doesn't allow later backtracking to reevaluate the group.</li><li class="menu_item box_overflow_fix" data-id="66"><div>(?|...)</div><div class="text_overflow">Duplicate subpattern group</div></li><li class="submenu">Any subpatterns in (...) in such a group share the same number.</li><li class="menu_item box_overflow_fix" data-id="67"><div>(?#...)</div><div class="text_overflow">Comment</div></li><li class="submenu">Any text appearing in this group is ignored in the regex.</li><li class="menu_item box_overflow_fix" data-id="68"><div>(?'name'...)</div><div class="text_overflow">Named capturing group</div></li><li class="submenu">This capturing group can be referred to using the given name instead of a number.</li><li class="menu_item box_overflow_fix" data-id="69"><div>(?&lt;name&gt;...)</div><div class="text_overflow">Named capturing group</div></li><li class="submenu">This capturing group can be referred to using the given name instead of a number.</li><li class="menu_item box_overflow_fix" data-id="70"><div>(?P&lt;name&gt;...)</div><div class="text_overflow">Named capturing group</div></li><li class="submenu">This capturing group can be referred to using the given name instead of a number.</li><li class="menu_item box_overflow_fix" data-id="71"><div>(?imsxXU)</div><div class="text_overflow">Inline modifiers</div></li><li class="submenu">These enable setting regex flags within the expression itself.<div class="quickref_label">/a(?i)a/</div><div class="quickref_regex hard_break"><b>aA</b> Aa <b>aa</b> AA</div></li><li class="menu_item box_overflow_fix" data-id="72"><div>(?(...)|)</div><div class="text_overflow">Conditional statement</div></li><li class="submenu">If the given pattern matches, matches the pattern before the vertical bar. Otherwise, matches the pattern after the vertical bar.</li><li class="menu_item box_overflow_fix" data-id="73"><div>(?R)</div><div class="text_overflow">Recurse entire pattern</div></li><li class="submenu">Recursively match the entire expression.</li><li class="menu_item box_overflow_fix" data-id="74"><div>(?1)</div><div class="text_overflow">Recurse first subpattern</div></li><li class="submenu">Recursively match the first subpattern.</li><li class="menu_item box_overflow_fix" data-id="75"><div>(?+1)</div><div class="text_overflow">Recurse first relative subpattern</div></li><li class="submenu">Recursively match the first pattern following the given position in the expression.</li><li class="menu_item box_overflow_fix" data-id="76"><div>(?&amp;name)</div><div class="text_overflow">Recurse subpattern `name`</div></li><li class="submenu">Recursively matches the given named subpattern.</li><li class="menu_item box_overflow_fix" data-id="77"><div>(?P=name)</div><div class="text_overflow">Match subpattern `name`</div></li><li class="submenu">Matches the text matched by a previously named capture group.</li><li class="menu_item box_overflow_fix" data-id="78"><div>(?P&gt;name)</div><div class="text_overflow">Recurse subpattern `name`</div></li><li class="submenu">Recursively matches the given named subpattern.</li><li class="menu_item box_overflow_fix" data-id="79"><div>(?=...)</div><div class="text_overflow">Positive lookahead</div></li><li class="submenu">Matches the given subpattern without consuming characters<div class="quickref_label">/foo(?=bar)/</div><div class="quickref_regex hard_break"><b>foo</b>bar foobaz</div></li><li class="menu_item box_overflow_fix" data-id="80"><div>(?!...)</div><div class="text_overflow">Negative lookahead</div></li><li class="submenu">Starting at the current position in the expression, ensures that the given pattern will not match. Does not consume characters.<div class="quickref_label">/foo(?!bar)/</div><div class="quickref_regex hard_break">foobar <b>foo</b>baz</div></li><li class="menu_item box_overflow_fix" data-id="81"><div>(?&lt;=...)</div><div class="text_overflow">Positive lookbehind</div></li><li class="submenu">Ensures that the given pattern will match, ending at the current position in the expression. Does not consume any characters.<div class="quickref_label">/(?&lt;=foo)bar/</div><div class="quickref_regex hard_break">foo<b>bar</b> foobaz</div></li><li class="menu_item box_overflow_fix" data-id="82"><div>(?&lt;!...)</div><div class="text_overflow">Negative lookbehind</div></li><li class="submenu">Ensures that the given pattern would not match and end at the current position in the expression. Does not consume characters.<div class="quickref_label">/(?&lt;!not )foo/</div><div class="quickref_regex hard_break">not foo but <b>foo</b></div></li><li class="menu_item box_overflow_fix" data-id="83"><div>(*UTF16)</div><div class="text_overflow">Verbs</div></li><li class="submenu">Verbs allow for advanced control of the regex engine. Full specs can be found in pcre.txt</li><li class="menu_item box_overflow_fix" data-id="84"><div>a?</div><div class="text_overflow">Zero or one of a</div></li><li class="submenu">Matches an `a` character or nothing.<div class="quickref_label">/ba?/</div><div class="quickref_regex hard_break"><b>ba</b> <b>b</b> a</div></li><li class="menu_item box_overflow_fix" data-id="85"><div>a*</div><div class="text_overflow">Zero or more of a</div></li><li class="submenu">Matches zero or more consecutive `a` characters.<div class="quickref_label">/ba*/</div><div class="quickref_regex hard_break">a <b>ba</b> <b>baa</b> aaa <b>ba</b> <b>b</b></div></li><li class="menu_item box_overflow_fix" data-id="86"><div>a+</div><div class="text_overflow">One or more of a</div></li><li class="submenu">Matches one or more consecutive `a` characters.<div class="quickref_label">/a+/</div><div class="quickref_regex hard_break"><b>a</b> <b>aa</b> <b>aaa</b> <b>aaaa</b> b<b>a</b>b b<b>aa</b>b</div></li><li class="menu_item box_overflow_fix" data-id="87"><div>a{3}</div><div class="text_overflow">Exactly 3 of a</div></li><li class="submenu">Matches exactly 3 consecutive `a` characters.<div class="quickref_label">/a{3}/</div><div class="quickref_regex hard_break">a aa <b>aaa</b> <b>aaa</b>a</div></li><li class="menu_item box_overflow_fix" data-id="88"><div>a{3,}</div><div class="text_overflow">3 or more of a</div></li><li class="submenu">Matches at least 3 consecutive `a` characters.<div class="quickref_label">/a{3,}/</div><div class="quickref_regex hard_break">a aa <b>aaa</b> <b>aaaa</b> <b>aaaaaa</b></div></li><li class="menu_item box_overflow_fix" data-id="89"><div>a{3,6}</div><div class="text_overflow">Between 3 and 6 of a</div></li><li class="submenu">Matches between 3 and 6 (inclusive) consecutive `a` characters.<div class="quickref_label">/a{3,6}/</div><div class="quickref_regex hard_break">a aa <b>aaa</b> <b>aaaa</b> <b>aaaaaa</b>aaaa</div></li><li class="menu_item box_overflow_fix" data-id="90"><div>a*</div><div class="text_overflow">Greedy quantifier</div></li><li class="submenu">Matches as many characters as possible.<div class="quickref_label">/a.*a/</div><div class="quickref_regex hard_break">greedy c<b>an be dangerous a</b>t times</div></li><li class="menu_item box_overflow_fix" data-id="91"><div>a*?</div><div class="text_overflow">Lazy quantifier</div></li><li class="submenu">Matches as few characters as possible.<div class="quickref_label">/r\w*?/</div><div class="quickref_regex hard_break"><b>r</b> <b>r</b>e <b>r</b>egex</div></li><li class="menu_item box_overflow_fix" data-id="92"><div>a*+</div><div class="text_overflow">Possessive quantifier</div></li><li class="submenu">Matches as many characers as possible; backtracking can't reduce the number of characters matched.</li><li class="menu_item box_overflow_fix" data-id="93"><div>\G</div><div class="text_overflow">Start of match</div></li><li class="submenu">This will match at the position the previous successful match ended. Useful with the /g flag.</li><li class="menu_item box_overflow_fix" data-id="94"><div>^</div><div class="text_overflow">Start of string</div></li><li class="submenu">Matches the start of a string without consuming any characters. If multiline mode is used, this will also match immediately after a newline character.<div class="quickref_label">/^\w+/</div><div class="quickref_regex hard_break"><b>start</b> of string</div></li><li class="menu_item box_overflow_fix" data-id="95"><div>$</div><div class="text_overflow">End of string</div></li><li class="submenu">Matches the end of a string without consuming any characters. If multiline mode is used, this will also match immediately before a newline character.<div class="quickref_label">/\w+$/</div><div class="quickref_regex hard_break">end of <b>string</b></div></li><li class="menu_item box_overflow_fix" data-id="96"><div>\A</div><div class="text_overflow">Start of string</div></li><li class="submenu">Matches the start of a string only. Unlike ^, this is not affected by multiline mode.<div class="quickref_label">/\A\w+/</div><div class="quickref_regex hard_break"><b>start</b> of string</div></li><li class="menu_item box_overflow_fix" data-id="97"><div>\Z</div><div class="text_overflow">End of string</div></li><li class="submenu">Matches the end of a string only. Unlike $, this is not affected by multiline mode.<div class="quickref_label">/\w+\Z/</div><div class="quickref_regex hard_break">end of <b>string</b></div></li><li class="menu_item box_overflow_fix" data-id="98"><div>\z</div><div class="text_overflow">Absolute end of string</div></li><li class="submenu">Matches the end of a string only. Unlike $, this is not affected by multiline mode, and, in contrast to \Z, will not match before a trailing newline at the end of a string.<div class="quickref_label">/\w+\z/</div><div class="quickref_regex hard_break">absolute end of <b>string</b></div></li><li class="menu_item box_overflow_fix" data-id="99"><div>\b</div><div class="text_overflow">A word boundary</div></li><li class="submenu">Matches, without consuming any characters, immediately between a character matched by \w and a character not matched by \w (in either order).<div class="quickref_label">/d\b/</div><div class="quickref_regex hard_break">wor<b>d</b> boundaries are od<b>d</b></div></li><li class="menu_item box_overflow_fix" data-id="100"><div>\B</div><div class="text_overflow">Non-word boundary</div></li><li class="submenu">Matches, without consuming any characters, at the position between two characters matched by \w.<div class="quickref_label">/r\B/</div><div class="quickref_regex hard_break"><b>r</b>egex is <b>r</b>eally cool</div></li><li class="menu_item box_overflow_fix" data-id="101"><div>g</div><div class="text_overflow">Global</div></li><li class="submenu">Tells the engine not to stop after the first match has been found, but rather to continue until no more matches can be found.</li><li class="menu_item box_overflow_fix" data-id="102"><div>m</div><div class="text_overflow">Multiline</div></li><li class="submenu">The ^ and $ anchors now match at the beginning/end of each line respectively, instead of beginning/end of the entire string.</li><li class="menu_item box_overflow_fix" data-id="103"><div>i</div><div class="text_overflow">Case insensitive</div></li><li class="submenu">A case insensitive match is performed, meaning capital letters will be matched by non-capital letters and vice versa.</li><li class="menu_item box_overflow_fix" data-id="104"><div>x</div><div class="text_overflow">Ignore whitespace</div></li><li class="submenu">This flag tells the engine to ignore all whitespace and allow for comments in the regex. Comments are indicated by a starting "#"-character.</li><li class="menu_item box_overflow_fix" data-id="105"><div>s</div><div class="text_overflow">Single line</div></li><li class="submenu">The dot (.) metacharacter will with this flag enabled also match new lines.</li><li class="menu_item box_overflow_fix" data-id="106"><div>u</div><div class="text_overflow">Unicode</div></li><li class="submenu">Pattern strings will be treated as UTF-16.</li><li class="menu_item box_overflow_fix" data-id="107"><div>X</div><div class="text_overflow">eXtended</div></li><li class="submenu">Any character following a \ that is not a valid meta sequence will be faulted and raise an error.</li><li class="menu_item box_overflow_fix" data-id="108"><div>U</div><div class="text_overflow">Ungreedy</div></li><li class="submenu">The engine will per default do lazy matching, instead of greedy. This means that a ? following a quantifier instead makes it greedy.</li><li class="menu_item box_overflow_fix" data-id="109"><div>A</div><div class="text_overflow">Anchor</div></li><li class="submenu">The pattern is forced to become anchored, equal to ^.</li><li class="menu_item box_overflow_fix" data-id="110"><div>\0</div><div class="text_overflow">Complete match contents</div></li><li class="submenu">This will return a string with the complete match result from the regex.</li><li class="menu_item box_overflow_fix" data-id="111"><div>\1</div><div class="text_overflow">Contents in capture group 1</div></li><li class="submenu">This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group.</li><li class="menu_item box_overflow_fix" data-id="112"><div>$1</div><div class="text_overflow">Contents in capture group 1</div></li><li class="submenu">This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group.</li><li class="menu_item box_overflow_fix" data-id="116"><div>${foo}</div><div class="text_overflow">Contents in capture group `foo`</div></li><li class="submenu">This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. This syntax is made up and specific to only Regex101. If the J-flag is specified, content will be taken from the first capture group with the same name.</li><li class="menu_item box_overflow_fix" data-id="117"><div>\{foo}</div><div class="text_overflow">Contents in capture group `foo`</div></li><li class="submenu">This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. This syntax is made up and specific to only Regex101. If the J-flag is specified, content will be taken from the first capture group with the same name.</li><li class="menu_item box_overflow_fix" data-id="118"><div>\g&lt;foo&gt;</div><div class="text_overflow">Contents in capture group `foo`</div></li><li class="submenu">This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. If the J-flag is specified, content will be taken from the first capture group with the same name.</li><li class="menu_item box_overflow_fix" data-id="119"><div>\g&lt;1&gt;</div><div class="text_overflow">Contents in capture group 1</div></li><li class="submenu">This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group.</li><li class="menu_item box_overflow_fix" data-id="120"><div>\x20</div><div class="text_overflow">Hexadecimal replacement values</div></li><li class="submenu">You can use hexadecimals to insert any character into the replacement string using the standard syntax.</li><li class="menu_item box_overflow_fix" data-id="121"><div>\x{06fa}</div><div class="text_overflow">Hexadecimal replacement values</div></li><li class="submenu">You can use hexadecimals to insert any character into the replacement string using the standard syntax.</li><li class="menu_item box_overflow_fix" data-id="122"><div>\t</div><div class="text_overflow">Tab</div></li><li class="submenu">Insert a tab character.</li><li class="menu_item box_overflow_fix" data-id="123"><div>\r</div><div class="text_overflow">Carriage return</div></li><li class="submenu">Insert a carriage return character.</li><li class="menu_item box_overflow_fix" data-id="124"><div>\n</div><div class="text_overflow">Newline</div></li><li class="submenu">Insert a newline character.</li><li class="menu_item box_overflow_fix" data-id="125"><div>\f</div><div class="text_overflow">Form-feed</div></li><li class="submenu">Insert a form-feed character.</li></ul> </div> </div> </div> </div> </div> </div> </div> <div class="delimiter-dropdown dropdown dropdown-relative dropdown-tip dropdown-index"> <ul class="dropdown-menu"> <li><a href="#">/</a></li> <li><a href="#">~</a></li> <li><a href="#">@</a></li> <li><a href="#">;</a></li> <li><a href="#">%</a></li> <li><a href="#">`</a></li> </ul> </div> <div id="dimmer"></div> <div id="dimmer-popup"></div> <div id="match-tooltip" class="arrow-box monospace" style="display: none;"> <div id="tooltip-contents"></div> <div id="match-tooltip-tip" class="arrow-box-tip"></div> </div> <script async="" src="//www.google-analytics.com/analytics.js"></script><script src="/js/underscore-min.1436803505.js.pagespeed.jm.ItwX38EOq5.js" type="text/javascript"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script> <script src="/js/jquery.tools.1436803505.js.pagespeed.jm.DNWAfAhpC9.js" type="text/javascript"></script> <script src="/js/general.regex101.1436803508.js+colorParser.regex101.1436803520.js.pagespeed.jc.KIXmW6Lahv.js"></script><script>eval(mod_pagespeed_CRbzq1jVsW);</script> <script>eval(mod_pagespeed_LD3wbsjGh7);</script> <script src="/js/explainer.regex101.1436803512.js.pagespeed.jm.noh2fCvD58.js" type="text/javascript"></script> <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-33878479-1','regex101.com');ga('send','pageview');</script> <script src="/js/common.regex101.1436803517.js+matcher.regex101.1436803513.js.pagespeed.jc.GiUY2OHBQ4.js"></script><script>eval(mod_pagespeed_0R2l5qkFIe);</script> <script>eval(mod_pagespeed_$$8DO5TKyQ);</script> </body></html>
html-strip
2016-09-06T13:34:54.000Z
CUIT Argentina sin guiones
^(20|23|24|27|30|33|34)\d{8}\d{1}$
20389812277
CUIT Argentina sin guiones
2023-07-03T12:38:43.000Z
\s\s+((\S+))\s+((\S+))\s+{\s+\s+(((((\S+))((\S+)\s+(\S+))|\s+((\S+)\s+?:(.))|\s+((\S+)\s+(\S+)\s+?:(.))|\s+(func\s+?:\s+?(([a-z],)*([a-z]?)\s+?{\s+($x=2)}\s+?))|\s+(func\s+(\S+)\s+?:\s+?(([a-z],)*([a-z]?)\s+?{\s+($x=2)}\s+?))|))+)\s+}
super suber { }
my language regex
2018-08-25T13:22:27.000Z
rmi:\/\/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
{"jmx.serviceUrl": "service:jmx:rmi:///jndi/rmi://172.123.523.1:1099/obj"}}
Ip
2019-08-01T03:39:39.000Z
https\:\/\/www\.bugaboo\.com\/(us|gb)-.{2}\/.*(952000ZW01|951000ZW01).html
https://www.bugaboo.com/gb-en/accessories/travel-cot/bugaboo-stardust-uk-black-952000ZW01.html https://www.bugaboo.com/gb-en/accessories/travel-cot/bugaboo-stardust-uk-black-952000ZW01.html https://www.bugaboo.com/us-es/accesorios/travel-cot/bugaboo-stardust-na-black-951000ZW01.html 952000ZW01 is uk 951000ZW01 is us
stardust pdp uk en us
2020-08-06T12:32:08.000Z
([^*]|^)\*(([^*]|(\*\*[^*]+\*\*))+)\*([^*]|$)
This text has *two* *italic* bits
MarkDown italic style parser
2019-02-25T23:23:29.000Z
^http://pre.m2.(?:lacaixa|caixabank).es:80/HBK/WAP/INT(?:/UPLOAD)*/TLO.*
http://pre.m2.caixabank.es:80/HBK/WAP/INT/UPLOAD/UPLOAD/CABRO/TLO http://pre.m2.caixabank.es:80/HBK/WAP/INT/UPLOAD/UPLOAD/TLO http://pre.m2.caixabank.es:80/HBK/WAP/INT/UPLOAD/TLO http://pre.m2.caixabank.es:80/HBK/WAP/INT/TLO http://pre.m2.caixabank.es:80/HBK/WAP/INT/UPLOAD/UPLOAD/UPLOAD/UPLOAD/UPLOAD/TLO/jsp/eloautp000001.jsp;WebLogicSession=4H9kYdSZbZXQ4vvK4NkKrXlDmbcXhg1w57ch6GNF582TphxQPHc5!-1153479860!NONE?URI=4H9kYdSZbZXQ4vvK4NkKrXlDmbcXhg1w57ch6GNF582TphxQPHc5!-11486721908313
TLO con multiples UPLOAD
2017-02-13T08:43:15.000Z
^(0\d:[0-5]\d)|(^1[01]:[0-5]\d)|(^12:[0-2]\d)|(^12:3[0-5])
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 12:09 12:19 12:29 12:30 12:31 12:32 12:33 12:34 12:35 midday (all days of week) 12:36 13:00 14:00 15:00 16:00 17:00 18:00 19:00 19:35 evening (sun-fri) 20:00 20:05 evening (saturday) 21:00 22:00 23:00
match time before 12:35 or match 12:35 exactly
2016-04-22T23:43:15.000Z
valida el formato del registro federal de contribuyentes de México.
^([A-Z&Ññ]{3}|[A-Z][AEIOU][A-Z]{2})\d{2}((01|03|05|07|08|10|12)(0[1-9]|[12]\d|3[01])|02(0[1-9]|[12]\d)|(04|06|09|11)(0[1-9]|[12]\d|30))([A-Z0-9]{2}[0-9A])$
lear790614v70
Valida RFC mexicano
2015-08-24T22:40:00.000Z
(?:team\/([0-9]+))\/(?:project\/([0-9]+))\/(?:type\/([0-9]+))(.*)(?:assignee\/([0-9]+))\/(?:author\/([0-9]+))\/(.*?)(?:status\/current\/)
https://behappy.cayetano.bg/explore/team/9/project/60/type/1/version/0/assignee/219/author/219/status/current/order/date/group/status/editid/0/
redirect old links
2015-07-06T10:59:14.000Z
^((\s*-?\s*\d+\s*(d(ays?)?|h((ou)?rs?)?|m(in(ute)?s?)?|s(ec(ond)?s?)?)\s*,?\s*(and)?)*).*
1
2016-09-05T17:36:12.000Z
PokerStars\s+Hand #(?P<hand_id>\d+):\s+(?P<game_type>[\w' ]+)\s+\(\$?(?P<min_bet>\d+\.?\d+)/\$?(?P<max_bet>\d+\.?\d+)\s*(?P<currency>\w+)?\)\s+-\s+(?P<date>\d+\/\d+\/\d+)\s(?P<time>\d+:\d+:\d+)\s(?P<timezone>[\w\d]+) Table\s'(?P<table_name>[\w ]+)'\s(?P<max_seats>\d)[-\w \(\)]+#?(?P<botton_seat>\d).+
PokerStars Hand #150339341954: Hold'em Limit (10/20) - 2016/03/14 10:53:49 ET Table 'Tinette' 6-max (Play Money) Seat #4 is the button Seat 1: n_repkin (718 in chips) Seat 3: Ofrik (400 in chips) Seat 4: bericky (913 in chips) Seat 5: 3pairs=nuts? (453 in chips) Seat 6: daisukeD (282 in chips) 3pairs=nuts?: posts small blind 5 daisukeD: posts big blind 10 Ofrik: posts big blind 10 *** HOLE CARDS *** Dealt to Ofrik [Qd 6d] n_repkin: calls 10 Ofrik: checks bericky: calls 10 3pairs=nuts?: folds daisukeD: checks *** FLOP *** [9d 3d Ah] marfi10175 joins the table at seat #2 daisukeD: folds n_repkin: checks Ofrik: checks bericky: checks *** TURN *** [9d 3d Ah] [5s] n_repkin: checks Ofrik: checks bericky: checks *** RIVER *** [9d 3d Ah 5s] [4d] n_repkin: checks Ofrik: bets 20 bericky: calls 20 n_repkin: folds *** SHOW DOWN *** Ofrik: shows [Qd 6d] (a flush, Queen high) bericky: mucks hand Ofrik collected 82 from pot *** SUMMARY *** Total pot 85 | Rake 3 Board [9d 3d Ah 5s 4d] Seat 1: n_repkin folded on the River Seat 3: Ofrik showed [Qd 6d] and won (82) with a flush, Queen high Seat 4: bericky (button) mucked [Qc Kh] Seat 5: 3pairs=nuts? (small blind) folded before Flop Seat 6: daisukeD (big blind) folded on the Flop
poker stars header
2016-04-11T15:58:43.000Z
decimal nr between 0-99999.99 with comma or dot with max. 2 decimal digits
^([0-9]{1,5})(([,.]{1})([0-9]{1,2}))?$
decimal nr between 0-99999.99 with comma or dot with max. 2 decimal digits
2017-01-23T10:21:32.000Z
^http(s)?:\/\/(my.|writer.)dek-d.com\/.*\/view(longc)?.php\?id=(\d)*(\&chapter=(\d)*)?$
https://writer.dek-d.com/view.php?id=1714407&chapter=13
dek-d novel regex
2017-11-25T05:46:50.000Z
used in C:\Users\us13d3\Repos\streamserve_working\2018-05-21_output_doc_analysis_v0.ps1
(?<a1>PREM)\|(?<a2>.{4})\|(?<a3>.{2})\|(?<a4>.{2})\|(?<a5>.+)
PREM|E001|E5|RG|[email protected]
$PREMRegex
2018-05-22T20:42:01.000Z
(?:rd|ed|USER=|disconnected by|closed)\s?(?:for)?\s?(?:invalid\suser\s)?(?<user>\w+)
Sat Jun 03 2017 22:53:03 cisco_router1 sshd[4926]: Failed password for invalid user info from 2.229.4.58 port 4509 ssh2 Sat Jun 03 2017 22:55:37 cisco_router1 sshd[3720]: Failed password for peevish from 2.229.4.58 port 1299 ssh2 Sat Jun 03 2017 22:54:09 cisco_router1 sshd[15833]: pam_unix(sshd:session): session opened for user nsharpe by (uid=0) Tue Jul 04 2017 16:59:10 cisco_router1 sshd[64913]: pam_unix(sshd:session): session closed for user nsharpe by (uid=0) Tue Jul 04 2017 14:21:40 cisco_router1 su: pam_unix(su:session): session closed for user root Sat Jun 03 2017 22:55:13 cisco_router1 sshd[1952]: Accepted password for djohnson from 10.3.10.46 port 1182 ssh2 Sat Jun 03 2017 22:55:37 cisco_router1 sudo: myuan ; TTY=pts/0 ; PWD=/home/myuan ; USER=root ; COMMAND=/bin/su Tue Jul 04 2017 16:59:10 cisco_router1 sshd[59602]: Received disconnect from 10.2.10.163 11: disconnected by user Tue Jul 04 2017 16:59:10 cisco_router1 sshd[59602]: Received disconnect from 10.2.10.163 11: disconnected by user
Regex1
2017-11-10T09:12:22.000Z
Check if HTTP Header of Cache-Control has all nessery values for highest security
^no-cache,\\s{0,1}no-store,\\s{0,1}must-revalidate$
secure http header: cache-control
2015-08-10T12:36:14.000Z
validate contact email clientside in JS
^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
contact email address validation
2016-01-31T02:46:55.000Z
^([^|]*)\|\d+\|?(\d[^|]*)\|([^|]*)\|([^|]*)\|([^|]*)$
ELINOR NORFUL DANDRIDGE|94608|832.81|CHEMTURA CORPORATION|10/8/2010 MI02 ‐ Royalties|11155987
num
2016-07-30T16:37:38.000Z
Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.
<child\s+[^<]*?attr2=[\'\"](?<value>[^<]*?)[\'\"]
Correct Matched: <child attr1='1' attr2='asd asddsa' attr3='1'/> <child attr1='1' attr2='asd asddsa'attr3='1'/> <child attr1='1' attr2='asd asddsa' /> <child attr1='1' attr2='asd asddsa'/> <child attr1='1' attr2='asd asddsa'/> <child attr1='1' attr2='asd asddsa'></child> <child attr1='1"'' attr2='asd asddsa'><elem/></child> <child attr1='1sda-cxc"'asdcvas&lt;' elem attr2='asd asddsa' attr1=1><elem/></child'> <child attr1='1sda-cxc"'asdcvas&lt;' elem attr2='asd asddsa' attr1=1><elem/></child </root> Correctly Not Matched: <child attr1='1sda-cxc"'asdcvas'><elem attr2='asd asddsa' attr1=1><elem/></child> Bug: <child attr1='1sda-cxc"'asdcvas'> elem attr2='asd asddsa' attr1=1><elem/></child>
Element's Attribute Value in XML (simple)
2014-06-24T11:29:07.000Z
((?:(?<=\s)|)@(\w+))
@john hey how are you. I was just wondering because @jane asked about you and @jim you know? @tim and @jack
Simple @user replacement
2015-07-24T14:37:27.000Z
(\d{4}-\d{2}-\d{2})-(\d{2}:\d{2}:\d{2})
hour --------------------- 2014-12-06-01:44:35 2014-12-06-01:44:35 2014-12-06-01:44:35 2014-12-06-01:44:35 2014-12-06-01:44:35 2014-12-06-01:44:35
TEST
2019-10-03T02:23:50.000Z
(?i)(?<= |^)Yes(?= |$)
YES
Yes
2019-04-06T12:43:36.000Z
^(?'asset'02)_(?'market1'\w{3,})\/(?'market2'\w{3,})_(?'type'M)(?'offset'L)_(?'derivative'PHY|FUT) (?'period'M)-(?'year'\d{4})-\b(?'month'0[1-9]|1[0-2])\b$
02_AUT/TTF_H_ML_PHY M-2015-12 02_AUT/TTF_H_ML_PHY M-2016-01 02_GASPOOL_L/GASPOOL_H_ML_PHY M-2015-12 02_GASPOOL_L/GASPOOL_H_ML_PHY M-2016-01
EIM month location spread
2019-08-30T09:05:59.000Z
((\d*,*\d*\d)\\)|(\d*,\d*)|((\d*)\/)
1,258\xa0sq\xa0mi (3,260\xa0km2) 45\xa0sq\xa0mi (120\xa0km2) \xa03.6% 234,878 45\xa0sq\xa0mi (120\xa0km2) \xa03.6% 194/sq\xa0mi (75/km2
numbers in wp
2020-04-15T20:58:50.000Z
This is default regular expression used at Trafikito.com to split the output of a command into columns. Trafikito monitors Linux CPU, RAM and disk space or the output of any command. Then sends emails or makes API calls in the event that something goes wrong. Monitor your Linux machine for free at [https://trafikito.com/](https://trafikito.com/)
[ ,]+
18:13 up 6 days, 9:21, 4 users, load averages: 3.03 3.33 3.96
Uptime command splitting to monitor average load
2018-06-28T08:40:09.000Z
TAYLOR Part Replacement
^[Oo]?[BbPp]?.*\s*(REP[Ll]*\.?\s*BY|[Oo]+[BbPp]+.*\s*REP)
OBSREPL.BY
TAYLOR REPLACEMENT STRING
2015-11-17T16:42:01.000Z
Tests the string if it does contain valid latitude and longitude parameters
(?<latitude>[-]?[0-8]?[0-9]\.\d+|90\.0+?)(?<delimeter>.)(?<longitude>[-]?1[0-7][0-9]|[0-9]?[0-9]\.\d+|180\.0+?)
20.12321;80.0
Latitude/longitude tester
2014-04-29T11:33:07.000Z
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
^ *(\d{4}-?)?\d{2}-?\d{3}-?\d{4} *$
1234-99-123-4567
NATO Stock Number (with or without NSC)
2015-12-23T09:54:19.000Z
\[ ([\w][\w-:]*) (?: \s*=\s* ( (?: " (?:"|[^"])*? " )| true| false| null ) )? \]
[attr=value] style
2015-03-24T13:06:20.000Z
(author\s=\s\{+(.*)+\},)
@article{Cian2014, abstract = {The aim of the present study was to investigate (1) the relative contribution of the egocentric reference as well as body orientation perception to visual horizon percept during tilt or during increased gravito-inertial acceleration (GiA, hypergravity environment) conditions and (2) the role of vestibular signals in the inter-individual differences observed in these perceptual modalities. Perceptual estimates analysis showed that backward tilt induced (1) an elevation of the visual horizon, (2) an elevation of the egocentric estimation (visual straight ahead) and (3) an overestimation of body tilt. The increase in the magnitude of GiA induced (1) a lowering of the apparent horizon, (2) a lowering of the straight ahead and (3) a perception of backward tilt. Overall, visual horizon percept can be expressed as the combination of body orientation perception and egocentric estimation. When assessing otolith reactivity using off-vertical axis rotation (OVAR), only visual egocentric estimation was significantly correlated with horizontal OVAR performance. On the one hand, we found a correlation between a low modulation amplitude of the otolith responses and straight ahead accuracy when the head axis was tilted relative to gravity. On the other hand, the bias of otolith responses was significantly correlated with straight ahead accuracy when subjects were submitted to an increase in the GiA. Thus, straight ahead sense would be dependent to some extent to otolith function. These results are discussed in terms of the contribution of otolith inputs in the overall multimodal integration subtending spatial constancy.}, author = { Cian, C and Barraud, P A and Paillard, A C and Hidot, S and Denise, P and Ventre-Dominey, J }, doi = {10.1007/s00221-013-3816-6}, issn = {1432-1106}, journal = {Experimental brain research}, keywords = {Adult,Eye Movements,Eye Movements: physiology,Female,Gravitation,Humans,Individuality,Male,Orientation,Orientation: physiology,Otolithic Membrane,Otolithic Membrane: physiology,Psychophysics,Reflex, Vestibulo-Ocular,Rotation,Statistics as Topic,Young Adult}, month = mar, number = {3}, pages = {1037--45}, pmid = {24430025}, title = {{Otolith signals contribute to inter-individual differences in the perception of gravity-centered space.}}, url = {http://www.ncbi.nlm.nih.gov/pubmed/24430025}, volume = {232}, year = {2014} } @article{Cian2014, abstract = {The aim of the present study was to investigate (1) the relative contribution of the egocentric reference as well as body orientation perception to visual horizon percept during tilt or during increased gravito-inertial acceleration (GiA, hypergravity environment) conditions and (2) the role of vestibular signals in the inter-individual differences observed in these perceptual modalities. Perceptual estimates analysis showed that backward tilt induced (1) an elevation of the visual horizon, (2) an elevation of the egocentric estimation (visual straight ahead) and (3) an overestimation of body tilt. The increase in the magnitude of GiA induced (1) a lowering of the apparent horizon, (2) a lowering of the straight ahead and (3) a perception of backward tilt. Overall, visual horizon percept can be expressed as the combination of body orientation perception and egocentric estimation. When assessing otolith reactivity using off-vertical axis rotation (OVAR), only visual egocentric estimation was significantly correlated with horizontal OVAR performance. On the one hand, we found a correlation between a low modulation amplitude of the otolith responses and straight ahead accuracy when the head axis was tilted relative to gravity. On the other hand, the bias of otolith responses was significantly correlated with straight ahead accuracy when subjects were submitted to an increase in the GiA. Thus, straight ahead sense would be dependent to some extent to otolith function. These results are discussed in terms of the contribution of otolith inputs in the overall multimodal integration subtending spatial constancy.}, author = { Cian, C and Barraud, P A and Paillard, A C and Hidot, S and Denise, P and Ventre-Dominey, J }, doi = {10.1007/s00221-013-3816-6}, issn = {1432-1106}, journal = {Experimental brain research}, keywords = {Adult,Eye Movements,Eye Movements: physiology,Female,Gravitation,Humans,Individuality,Male,Orientation,Orientation: physiology,Otolithic Membrane,Otolithic Membrane: physiology,Psychophysics,Reflex, Vestibulo-Ocular,Rotation,Statistics as Topic,Young Adult}, month = mar, number = {3}, pages = {1037--45}, pmid = {24430025}, title = {{Otolith signals contribute to inter-individual differences in the perception of gravity-centered space.}}, url = {http://www.ncbi.nlm.nih.gov/pubmed/24430025}, volume = {232}, year = {2014} }
author bibtext
2015-07-09T08:24:24.000Z
(?(DEFINE) (?<unreserved> [-._~[:alnum:]] ) (?<sub_delims> [!$&'()*+,;=] ) (?<pct_encoded> %[[:xdigit:]][[:xdigit:]] ) (?<pchar> @|(?&unreserved)|(?&pct_encoded)|(?&sub_delims) ) (?<seg_nz_nc> (?&pchar)+ ) (?<seg_nz> (?::|(?&pchar))+ ) (?<seg> (?::|(?&pchar))* ) (?<rootless> (?&seg_nz)(?:\/(?&seg))* ) (?<noscheme> (?&seg_nz_nc)(?:\/(?&seg)*) ) (?<absolute> \/(?:(?&seg_nz)(?:\/(?&seg))*)? ) (?<abempty> (?:\/(?&seg))* ) ) ^(?:(?&rootless)|(?&noscheme)|(?&absolute)|(?&abempty))$
/bla/asd/f.fasdf
JSON Pointer
2018-09-03T05:00:56.000Z
With regex you can count the number of matches. Can you make it return the number of uppercase consonants (B,C,D,F,..,X,Y,Z) in a given string? E.g.: it should return 3 with the text ABcDeFO!. Note: Only ASCII. We consider Y to be a consonant! Example: the regex /./g will return 3 when run against the string abc.
[^ -AEIOU[-ÿ]
ABcDeFO!
Regex tutorial Case sensitive consonants
2020-07-01T10:38:25.000Z
(\d+\s?)(days|weeks|hours)(.*)
2 hours
2d to in 2 days
2019-09-17T23:29:54.000Z
Capture word and trailing single ! but capture only word when trailed by !!
((\!*[a-zA-Z]+)*)((\!\!)|(\!?))
fo!o! fo!o foo! foo fo!o!! fo!o!! foo!!
trailing exclamations
2017-08-23T21:13:13.000Z
(?<=[\.\?!])$
zeraze. azeazeazeaze azeazeaze!
Fin de phrase sans espace
2021-02-23T09:19:24.000Z
^ {0,3}((?:(`){3,}?)|(?:(~){3,}?))(?!\2\3)(?:([^`\n]+?)(\1(?:\2\3)*)|(?:( *([^ \n]+)[^`\n]*)?\n([\s\S]*?)(^ {0,3}))(\1(?:\2\3)*)(?=$))
```js var test = 'test'; ``` ```js var x = "John Doe"; console.log( x ); ```
CommonMark Fenced Code Blocks (78% Spec Compliant)
2021-02-08T04:55:59.000Z
Regular expression to check complex account no of max length of 18 Conditions: 1) max length of account no. is 18 chars 2) 1 hiphen is compulsary 3) Before 1st hiphen there should be digits between range 1-6 4) If second hiphen introduces then there must be atleast 1 digit in between them and one digit after second hiphen 5) If there is only 1 hiphen then after 1st hiphen there must be 1 digit RegEx for above conditions ^(?=[\d-]{3,18}$)\d{1,6}-\d*[-]?\d+$
^(?=[\d-]{3,18}$)\d{1,6}-\d*[-]?\d+$
123123-1-1
Account number verification
2018-03-30T15:19:00.000Z
((?:\d,)+?)\1
1,2,3,4,1,2,3,4,5,6,5,6,5,6, 2,3,1,2,3,1,1,2,3,4, 2,3,1,1,2,3,4,2,3,1, 1,2,3,1,2,3,1,2,3,1,2,3, 6,6,6,6,6,6,6,6,1,2,3,4,
Recursive
2016-08-26T18:06:04.000Z
Up to spec as of 2016-03-16. You can choose whether to enforce industry-standard casing for keywords via the "i" flag, which is enabled by default. Note that both "currentcolor" and "currentColor" are common; the relevant spec uses "currentColor", but several browsers prefer "currentcolor".
(?#https://regex101.com/r/eO8pP0/)(?(DEFINE)(?<hex>[a-fA-F\d])(?<hue>[+-]?(?:\d{1,8}(?:\.\d{0,8})?|\.\d{0,8}))(?<percent>(?:\d{1,2}|100)%)(?<channel>(?&percent)|25[0-5]|2[0-4]\d|[0-1]\d\d|\d{1,2})(?<rgb>\h*(?&channel)\h*(?:,\h*(?&channel)\h*){2})(?<hsl>\h*(?&hue)\h*(?:,\h*(?&percent)\h*){2})(?<alpha>1(?:\.0*)?|0?\.\d{1,8}|0))^(?:#(?:(?&hex){6}|(?&hex){3})|rgb\h*\((?&rgb)\)|hsl\h*\((?&hsl)\)|rgba\h*\((?&rgb),\h*(?&alpha)\h*\)|hsla\h*\((?&hsl),\h*(?&alpha)\h*\)|inherit|initial|transparent|unset|current[cC]olor|(?# Named colors)aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen)$
red #f00 #ff0000 rgb(255,0,0) rgb(100%, 0%, 0%) hsl(0, 100%, 50%) hsl(0., 100%, 50%) hsl(.0, 100%, 50%) hsl(0.0, 100%, 50%) rgba(255, 0, 0, 0.5) hsla(0, 100%, 50%, 0.5) red orange antiquewhite #0f0 #00ff00 rgba( 34, 12, 64, 0.3) currentcolor inherit initial unset
CSS3 color expressions
2016-03-17T03:08:59.000Z
This regex allow to validate a .so file (with an additional version)
lib(.*?)\.so(.*?)
libm.so
find a valid SO file
2015-08-11T08:07:54.000Z
[|\s]+|[=\s]+
, this, is a ,,, test string , , to find regex,,in js. ,
saja
2013-11-15T10:04:34.000Z
"Bank Negara Malaysia", "1Malaysia Development Bhd"
([A-Z][a-z]+(?=\s[A-Z])(?:\s[A-Z][a-z]+)+)
Malaysia’s central bank had to take action against a debt-ridden state investment company to protect the integrity of the financial system, according to governor Zeti Akhtar Aziz, who said an improvement in the country’s political situation would help the ringgit. The attorney-general’s office earlier this month dismissed Bank Negara Malaysia's second request for criminal proceedings against 1Malaysia Development Bhd (1MDB) for breaching the Exchange Control Act. Bank Negara has revoked three permissions given to 1MDB for investments abroad totalling $1.83 billion, and instructed it to repatriate the amount. "He has the right to make that assessment," Zeti said, referring to the attorney-general. "But for the central bank, we believe it is very, very important to comply with our rules and regulations that we have in place. This is vital, it’s critical for the functioning of the financial system" and its integrity, she said. While growth could ease to as little as 4.8 percent this year and the risk of a slowdown because of the global economy is bigger than the threat of inflation, Malaysia has a “high degree of resilience”, Zeti, 68, said in an interview in Lima, Peru, on Sunday. The central bank doesn’t see the risk of faster inflation after the first quarter of 2016 and interest rates at current levels are supportive of growth, Zeti said. Malaysia forecasts growth of 4.5 percent to 5.5 percent this year. Confidence struggle Malaysian policy makers have struggled to boost confidence in the economy and its finances since oil prices started slumping late last year and as allegations of financial irregularities at 1MDB hurt sentiments. Tensions in the Southeast Asian nation have also increased as Prime Minister Najib Abdul Razak (photo) battled accusations of impropriety over political donations that ended up in his private accounts.
Get consecutive capitalized words
2015-10-13T04:04:37.000Z
get tiktok video id https://m.tiktok.com/h5/share/usr/6641141594707361797.html https://m.tiktok.com/v/6749869095467945218.html https://www.tiktok.com/@cchelseam..eow/video/6751181801206729990 https://www.tiktok.com/embed/6567659045795758085 https://www.tiktok.com/share/user/6567659045795758085 https://www.tiktok.com/trending?shareId=6744531482393545985
(@[a-zA-z0-9]*|.*)(\/.*\/|trending.?shareId=)([\d]*)
https://m.tiktok.com/h5/share/usr/6641141594707361797.html https://m.tiktok.com/v/6749869095467945218.html https://www.tiktok.com/@cchelseam..eow/video/6751181801206729990 https://www.tiktok.com/embed/6567659045795758085 https://www.tiktok.com/share/user/6567659045795758085 https://www.tiktok.com/trending?shareId=6744531482393545985
tiktok video id
2023-05-09T10:42:16.000Z
<p>[\s]*(.*)
<div> abc efg abc </div> <p> abc efg abc efg </p>
<p>다음에 처음오는 문장
2017-07-23T10:51:35.000Z
([0-9]{2}\. )\b([a-z])([a-z]+)\b
01. panoramica del corso
Trova la prima lettera nel nome di un file e la mette in maiuscolo
2020-06-17T19:33:56.000Z
(\d+)\s+(\w{2})\s*(\w{2,5})\s+(\w{5})(?:\s+|\s+(.)\s+)(\w{3})(\w{3})(?:\s+|(?:\s|\*)(\w{3})\s+)(\w{4,5})\s+(\w{4,5})(?: (.*)| (\w{5})(.*))?(?:\n|$){1}
1 UA 990J 28OCT SFOCDG 340P 1015A 29OCT fewfrgrgr grgrwg fefeff 2 AF1830J 31OCT CDGMXP 900A 1025A 31OCT OPERATED BY AIR CANADA YYZ CHECK-IN WITH AIR CANADA 3 LH 259J 03NOV T MXPFRA 740A 900A 03NOV OPERATED BY LUFTHANSA MAD CHECK-IN WITH LUFTHANSA 4 DL2252Z 01OCT T SATDTW*SS1 1246P 454P 5 DL 98Z 01OCT T DTWCDG*SS1 608P 805A 02OCT W /DCDL /E 6 DL8322Z 02OCT W CDGBOD*SS1 935A 1050A /DCDL /E OPERATED BY AIR FRANCE 7 DL9365Z 09OCT W BODAMS*SS1 1150A 140P /DCDL /E OPERATED BY KLM ROYAL DUTCH AIRLINES 8 DL8178Z 09OCT W AMSSLC*SS1 500P 655P /DCDL /E OPERATED BY KLM ROYAL DUTCH AIRLINES 10 LH 454J 03NOV FRASFO 1005A 205P 03NOV 11 LH 454J 03NOV SFOKIV 205P 235P 03NOV
Universal parser
2018-11-27T14:23:11.000Z
Match any line that starts with '[' and ends with ']'
^\[.*\]\R
[★春节祝福展示一] #R【春节祝福墙】#n(本次更新时间01-24 16:19:06,每10分钟更新一次)#r      #G<ask q=★春节祝福墙首页>我要发祝福</ask>#n | #O<ask q=★春节祝福展示首页>全服记录</ask>#n | #G<ask q=#arg(@uid)★春节祝福我的记录>我的记录</ask>#n#r <tab w=650>#ccccccc————————————————————————#K</tab>#r<tab w=650>新年新气象,新春节日到!节日快乐!愿你在2017年,天天开怀,时时快乐,分分精彩,秒秒幸福。</tab>#r<tab w=370></tab>——#R肥波波-与歌同行#n 16:17#r<tab w=650>人依旧,物依然,又是一年;想也好,忘也罢,本是平凡;今儿好,明更好,衷心祝愿;情也真,意也切,常驻心间。祝您春节愉快!</tab>#r<tab w=370></tab>——#R肥波波-与歌同行#n 16:17#r<tab w=650>许一个美好的心愿祝你新年快乐连连,送一份美妙的感觉祝你来年万事圆圆,送一份漂亮的礼物祝你微笑甜甜。</tab>#r<tab w=370></tab>——#R肥波波-与歌同行#n 16:18#r<tab w=650>哈哈,新年好</tab>#r<tab w=370></tab>——#R肥波波-与歌同行#n 16:18#r #G<ask q=★春节祝福展示2>上一页</ask>#n<tab w=170></tab>(第1页)<tab w=200></tab>已是末页
Match any line that starts with '[' and ends with ']'
2017-02-16T11:52:27.000Z
If using XenForo create a TMS (template adaption) for 'footer', select RegExp and enter this. Possibly you have to replace the \n in the substitution with real new lines so just press enter there.
\h*<xen:if is="{\$debugMode}"> \h*<xen:if hascontent="true"> \h*<dl class="pairsInline debugInfo".*?> (\h*)<xen:contentcheck>
<xen:edithint template="footer.css" /> <xen:hook name="footer"> <div class="footer"> <div class="pageWidth"> <div class="pageContent"> <xen:if is="{$canChangeStyle} OR {$canChangeLanguage}"> <dl class="choosers"> <xen:if is="{$canChangeStyle}"> <dt>{xen:phrase style}</dt> <dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}" rel="nofollow">{$visitorStyle.title}</a></dd> </xen:if> <xen:if is="{$canChangeLanguage}"> <dt>{xen:phrase language}</dt> <dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" rel="nofollow">{$visitorLanguage.title}</a></dd> </xen:if> </dl> </xen:if> <ul class="footerLinks"> <xen:hook name="footer_links"> <xen:if is="{$xenOptions.contactUrl.type} === 'default'"> <li><a href="{xen:link 'misc/contact'}" class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}">{xen:phrase contact_us}</a></li> <xen:elseif is="{$xenOptions.contactUrl.type} === 'custom'" /> <li><a href="{$xenOptions.contactUrl.custom}" {xen:if {$xenOptions.contactUrl.overlay}, 'class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}"'}>{xen:phrase contact_us}</a></li> </xen:if> <li><a href="{xen:link help}">{xen:phrase help}</a></li> <xen:if is="{$homeLink}"><li><a href="{$homeLink}" class="homeLink">{xen:phrase home}</a></li></xen:if> <li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li> <li><a href="{xen:link forums/-/index.rss}" rel="alternate" class="globalFeed" target="_blank" title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}">{xen:phrase rss}</a></li> </xen:hook> </ul> <span class="helper"></span> </div> </div> </div> <div class="footerLegal"> <div class="pageWidth"> <div class="pageContent"> <ul id="legal"> <xen:hook name="footer_links_legal"> <xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if> <xen:if is="{$xenOptions.privacyPolicyUrl}"><li><a href="{$xenOptions.privacyPolicyUrl}">{xen:phrase privacy_policy}</a></li></xen:if> </xen:hook> </ul> <div id="copyright">{xen:helper copyright} {xen:phrase extra_copyright}</div> <xen:hook name="footer_after_copyright" /> <xen:if is="{$debugMode}"> <xen:if hascontent="true"> <dl class="pairsInline debugInfo" title="{$controllerName}-&gt;{$controllerAction}{xen:if $viewName, ' ({$viewName})'}"> <xen:contentcheck> <xen:if is="{$page_time}"><dt>{xen:phrase timing}:</dt> <dd><a href="{$debug_url}" rel="nofollow">{xen:phrase x_seconds, 'time={xen:number $page_time, 4}'}</a></dd></xen:if> <xen:if is="{$memory_usage}"><dt>{xen:phrase memory}:</dt> <dd>{xen:phrase x_mb, 'size={xen:number {xen:calc "{$memory_usage} / 1024 / 1024"}, 3}'}</dd></xen:if> <xen:if is="{$db_queries}"><dt>{xen:phrase db_queries}:</dt> <dd>{xen:number {$db_queries}}</dd></xen:if> </xen:contentcheck> </dl> </xen:if> </xen:if> <span class="helper"></span> </div> </div> </div> </xen:hook>
XenForo Add version Number to Footer
2015-08-19T16:17:36.000Z
((<svg:svg )(\w+=\"[\w\.]+\"\s)+)(height=\"(\d+)\")
<svg:svg version="1.1" baseProfile="full" width="771" height="221" xmlns:svg="http://www.w3.org/2000/svg"><svg:a target="basefrm" xlink:href="../Sybase.Central.transitorio/table_dboah_causal_no_genuino.htm" title="table: dbo.ah_causal_no_genuino" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="78" y="24" width="16" height="16" style="fill:#0000FF; stroke:#0000FF; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../Sybase.Central.transitorio/table_dboah_causal_no_genuino.htm" title="table: dbo.ah_causal_no_genuino" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="46" y="52">ah_causal_no_genuino</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="86" y2="32" /><svg:a target="basefrm" xlink:href="../Sybase.Central.cob_ahorros/table_dboah_cuenta.htm" title="table: dbo.ah_cuenta" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="312" y="0" width="16" height="16" style="fill:#0000FF; stroke:#0000FF; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../Sybase.Central.cob_ahorros/table_dboah_cuenta.htm" title="table: dbo.ah_cuenta" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="296" y="28">ah_cuenta</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="320" y2="8" /><svg:a target="basefrm" xlink:href="../Sybase.Central.cob_ahorros_his/table_dboah_his_movimiento.htm" title="table: dbo.ah_his_movimiento" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="545" y="24" width="16" height="16" style="fill:#0000FF; stroke:#0000FF; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../Sybase.Central.cob_ahorros_his/table_dboah_his_movimiento.htm" title="table: dbo.ah_his_movimiento" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="517" y="52">ah_his_movimiento</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="553" y2="32" /><svg:a target="basefrm" xlink:href="../Sybase.Central.cobis/table_dbocl_catalogo.htm" title="table: dbo.cl_catalogo" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="78" y="74" width="16" height="16" style="fill:#0000FF; stroke:#0000FF; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../Sybase.Central.cobis/table_dbocl_catalogo.htm" title="table: dbo.cl_catalogo" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="59" y="102">cl_catalogo</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="86" y2="82" /><svg:a target="basefrm" xlink:href="../Sybase.Central.cobis/table_dbocl_tabla.htm" title="table: dbo.cl_tabla" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="312" y="50" width="16" height="16" style="fill:#0000FF; stroke:#0000FF; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../Sybase.Central.cobis/table_dbocl_tabla.htm" title="table: dbo.cl_tabla" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="298" y="78">cl_tabla</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="320" y2="58" /><svg:a target="basefrm" xlink:href="sp_dbosp_movimientos_genuinos.htm" title="stored procedure: dbo.sp_movimientos_genuinos" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="310" y="110" width="20" height="20" style="fill:#FF0000; stroke:#FF0000; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="sp_dbosp_movimientos_genuinos.htm" title="stored procedure: dbo.sp_movimientos_genuinos" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="275" y="140">sp_movimientos_genuinos</svg:text></svg:a><svg:a target="basefrm" xlink:href="../ExternalObjects/Sqr_Jubilacionesju_devolucion.htm" title="Sqr: Jubilaciones.ju_devolucion" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="137" y="162" width="16" height="16" style="fill:#B96A9A; stroke:#B96A9A; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../ExternalObjects/Sqr_Jubilacionesju_devolucion.htm" title="Sqr: Jubilaciones.ju_devolucion" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="115" y="190">ju_devolucion</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="145" y2="170" /><svg:a target="basefrm" xlink:href="../ExternalObjects/Sqr_Jubilacionesju_rendicion_asig_fam.htm" title="Sqr: Jubilaciones.ju_rendicion_asig_fam" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:rect rx="5" ry="5" x="487" y="162" width="16" height="16" style="fill:#B96A9A; stroke:#B96A9A; stroke-width:1; fill-opacity:0.5" /></svg:a><svg:a target="basefrm" xlink:href="../ExternalObjects/Sqr_Jubilacionesju_rendicion_asig_fam.htm" title="Sqr: Jubilaciones.ju_rendicion_asig_fam" xmlns:xlink="http://www.w3.org/1999/xlink"><svg:text font-size="10" font-family="verdana" x="453" y="190">ju_rendicion_asig_fam</svg:text></svg:a><svg:line style="stroke:#808080;stroke-width:1" x1="320" y1="120" x2="495" y2="170" /></svg:svg>
SVG Height
2016-02-02T21:28:00.000Z
([0-3]?[0-9])\/([01]?[0-9])\/([0-2][0-9][0-9][0-9])
01/01/2020 #1st Jan 07/03/2020 #3 July 12/2/2020 #2 December 4/23/2020 #23 April 19/39/2020 03/12/2000 18/03/2002 1/7/1955
Data Recognition - Simple
2021-01-19T21:24:44.000Z
<div\s+?(.*?)\s+?(id|class)\s*?=\s*?"(.+?)"\s+(.*)\s*?>
<div style = "border: 1px" id = "header" > <div align="left" id="nav" style="color:blue"> <div class="header" style="color:blue">
div to other elements
2017-06-17T07:33:32.000Z
(bead\s*array\s*reader)
"Autoloader - 2" "cBOT" "Genome Analyzer CS" "Genome Analyzer I" "Genome Analyzer IIx" "Genome Analyzer IIx (Upgrade)" "HiSeq 2000 (upgrade to 2500)" "HiSeq 3000" "iPAR" "iScan+" "MiSeq" "MiSeq II" "MiSeq II (upgrade to MiSeq II)" "PEMIIx" "PEMIIx Upgrade" "Robot - LIHA","Teflow" MiSeq FGx !upgrade to MiSeq FGx! MiSeqFGx !upgrade to MiSeq FGx! MiSeq Dx !upgrade to MiSeqDx! MiSeqdx NextSeq NextSeq 550 - Third Party NextSeq 500 HiScan iScan Bead Array Reader - iScan BeadArray Reader
System names
2016-03-17T21:56:45.000Z
(([a-hKQNB]x)?(R[1-8]?[a-f]?x)?[KQNBR]?[abcdefgh]([1-8]{1}(?!=))(\(ep\))?((?<=[18])=[KQNBR])?\+{,2}|0(-0){1,2})
<dt>e4</dt><dd>match</dd> <dt>a8</dt><dd>match</dd> <dt>g5</dt><dd>match</dd> <dt>h7</dt><dd>match</dd> <dt>a1</dt><dd>match</dd> <dt>Kd2</dt><dd>match</dd> <dt>Kg6</dt><dd>match</dd> <dt>Qh4</dt><dd>match</dd> <dt>Qe2</dt><dd>match</dd> <dt>Qb7</dt><dd>match</dd> <dt>Nf2</dt><dd>match</dd> <dt>Nc6</dt><dd>match</dd> <dt>Be4</dt><dd>match</dd> <dt>Bf3</dt><dd>match</dd> <dt>Bb2</dt><dd>match</dd> <dt>Ra1</dt><dd>match</dd> <dt>Rc3</dt><dd>match</dd> <dt>Rh8</dt><dd>match</dd> <dt>0-0</dt><dd>match</dd> <dt>0-0-0</dt><dd>match</dd> <dt>exd5</dt><dd>match</dd> <dt>axb7</dt><dd>match</dd> <dt>exd2</dt><dd>match</dd> <dt>Bxc6</dt><dd>match</dd> <dt>Bxa4</dt><dd>match</dd> <dt>Qxe2</dt><dd>match</dd> <dt>Qxb7</dt><dd>match</dd> <dt>Nxf2</dt><dd>match</dd> <dt>Nxb2</dt><dd>match</dd> <dt>Bxb2</dt><dd>match</dd> <dt>Rxh8</dt><dd>match</dd> <dt>Rxc3</dt><dd>match</dd> <dt>exd5(ep)</dt><dd>match</dd> <dt>exd2(ep)</dt><dd>match</dd> <dt>a1=Q</dt><dd>match</dd> <dt>d1=Q</dt><dd>match</dd> <dt>f8=Q</dt><dd>match</dd> <dt>e8=Q</dt><dd>match</dd> <dt>a1=N</dt><dd>match</dd> <dt>b8=B</dt><dd>match</dd> <dt>f1=R</dt><dd>match</dd> <dt>d8=Q</dt><dd>match</dd> <dt>bxc1=Q</dt><dd>match</dd> <dt>exd1=Q</dt><dd>match</dd> <dt>Raxc1</dt><dd>match</dd> <dt>Rfxd2</dt><dd>match</dd> <dt>R2xc1</dt><dd>match</dd> <dt>R5xd2</dt><dd>match</dd> <dt>Bxc6+</dt><dd>match</dd> <dt>Rxh8+</dt><dd>match</dd> <dt>Rh8+</dt><dd>match</dd> <dt>Bxb2+</dt><dd>match</dd> <dt>Rxc3++</dt><dd>match</dd> <dt>Bxc6++</dt><dd>match</dd> <dt>d8=Q++</dt><dd>match</dd> <dt>2</dt><dd>no match</dd> <dt>b</dt><dd>no match</dd> <dt>i2</dt><dd>no match</dd> <dt>a9</dt><dd>no match</dd> <dt>5d</dt><dd>no match</dd> <dt>K2</dt><dd>no match</dd> <dt>Ki6</dt><dd>no match</dd> <dt>Kf9</dt><dd>no match</dd> <dt>Qp3</dt><dd>no match</dd> <dt>Qd9</dt><dd>no match</dd> <dt>Q3</dt><dd>no match</dd> <dt>N</dt><dd>no match</dd> <dt>Nz9</dt><dd>no match</dd> <dt>Na10</dt><dd>no match</dd> <dt>B2</dt><dd>no match (watch case)</dd> <dt>Bb</dt><dd>no match</dd> <dt>Bi4</dt><dd>no match</dd> <dt>Ri5</dt><dd>no match</dd> <dt>Ra9</dt><dd>no match</dd> <dt>Sa2</dt><dd>no match</dd> <dt>Zf3</dt><dd>no match</dd> <dt>Jj2</dt><dd>no match</dd> <dt>1-1</dt><dd>no match</dd> <dt>0</dt><dd>no match</dd> <dt>2-1</dt><dd>no match</dd> <dt>0-1</dt><dd>no match</dd> <dt>0-0-1</dt><dd>no match</dd> <dt>0-0-0-0</dt><dd>no match</dd> <dt>0--0</dt><dd>no match</dd> <dt>bxa9</dt><dd>no match</dd> <dt>hxi2</dt><dd>no match</dd> <dt>Kxf9</dt><dd>no match</dd> <dt>Qxp3</dt><dd>no match</dd> <dt>Nxz9</dt><dd>no match</dd> <dt>Bxi4</dt><dd>no match</dd> <dt>Rxi5</dt><dd>no match</dd> <dt>a1=</dt><dd>no match</dd> <dt>a2=Q</dt><dd>no match</dd> <dt>b4=N</dt><dd>no match</dd> <dt>d1=S</dt><dd>no match</dd> <dt>d5=G</dt><dd>no match</dd> <dt>exd5=G</dt><dd>no match</dd> <dt>exd1=S</dt><dd>no match</dd> <dt>bxa1=</dt><dd>no match</dd> <dt>Rdxd2</dt><dd>no match</dd> <dt>Rexe2</dt><dd>no match</dd> <dt>R2xe2</dt><dd>no match</dd> <dt>Bxi4++</dt><dd>no match</dd>
Chess
2018-09-21T12:58:02.000Z
in this example the substring is Crude Oil
^.*(Crude Oil).*$
Crude Oil aCrude Oil Crude Oila aCrude Oila Bakken Crude Oil: a Crude Oil a C rude Oil a Crude Oil
Strip all but a specific substring
2019-11-27T17:20:38.000Z