description
stringlengths
0
8.24k
regex
stringlengths
1
26.3k
text
stringlengths
0
2.47M
title
stringlengths
1
150
created_at
stringlengths
24
24
Replaces all occurrences of AssertTrue(a == b); in a file with AssertEquals(a,b), which allows for more information in the test.
(assertTrue)(.+?)( ==)
$this->assertTrue($post->item_id == $actionItem->id); $this->assertTrue($post->action == 'edited'); $this->assertTrue($post->type == 'Action Item'); $this->assertTrue($post->title == $actionItem->title); Designed for use in PHPstorm. REGEX in First "Replace" string, and the following in the second: AssertEquals$2,
PHPunit AssertEquals from AssertTrue
2015-08-21T16:40:11.000Z
test
([A-Z])\w+
Welcome to RegExr v2.0 by gskinner.com! Edit the Expression & Text to see matches. Roll over matches or the expression for details. Undo mistakes with ctrl-z. Save & Share expressions with friends or the Community. A full Reference & Help is available in the Library, or watch the video Tutorial. Sample text for testing: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 +-.,!@#$%^&*();\/|<>"' 12345 -98.7 3.141 .6180 9,000 +42 555.123.4567 +1-(800)-555-2468 [email protected] [email protected] www.demo.com http://foo.co.uk/ http://regexr.com/foo.html?q=bar
fred
2015-09-03T19:12:03.000Z
You can format p:empty paragraphs with CSS, but sometimes they are not completely empty. This is meant to remove those.
<p>(\s|&nbsp;|<\/?\s?br\s?\/?>)*<\/?p>
<div class="copy_box"><p></p> <p class="keepme">Nam blandit orci vel lorem rhoncus, eu ornare mauris tempor. Cras et volutpat est, eget tempus lectus. In placerat felis a convallis dapibus.</p> <p class="keepme">Aliquam viverra auctor mollis. Aliquam ornare urna non nisl cursus laoreet. Fusce sed eleifend turpis, &nbsp;pretium lectus. Proin eleifend scelerisque lacus id eleifend. Aenean luctus est et tristique convallis. In blandit urna.</p> <p> </p></div>
Strip / Delete / Remove / empty paragraphs
2015-05-12T22:13:49.000Z
videor\.monument\.type\.(\w+)[ ](\w+)\=
videor.monument.type.abitazione=abitazione videor.monument.type.accampamento_fortificato=accampamento fortificato videor.monument.type.acquedotto=acquedotto videor.monument.type.acropoli=acropoli videor.monument.type.anfiteatro=anfiteatro videor.monument.type.arco=arco videor.monument.type.area_urbana=area urbana videor.monument.type.azienda_agricola=azienda agricola videor.monument.type.banchina=banchina videor.monument.type.basamento=basamento videor.monument.type.basilica=basilica videor.monument.type.biblioteca=biblioteca videor.monument.type.borgo=borgo videor.monument.type.bottega=bottega videor.monument.type.calcara=calcara videor.monument.type.campanile=campanile videor.monument.type.canale=canale videor.monument.type.canalizzazione=canalizzazione videor.monument.type.capanna=capanna videor.monument.type.casale=casale videor.monument.type.caseggiato=caseggiato videor.monument.type.caserma=caserma videor.monument.type.castelliere=castelliere videor.monument.type.castello=castello videor.monument.type.castellum_aquae=castellum aquae videor.monument.type.catacomba=catacomba videor.monument.type.cava=cava videor.monument.type.cimitero=cimitero videor.monument.type.cinta_fortificativa=cinta fortificativa videor.monument.type.circo=circo videor.monument.type.cisterna=cisterna videor.monument.type.colombario=colombario videor.monument.type.colonna=colonna videor.monument.type.complesso_conventuale=complesso conventuale videor.monument.type.complesso_episcopale=complesso episcopale videor.monument.type.complesso_monastico=complesso monastico videor.monument.type.criptoportico=criptoportico videor.monument.type.curia=curia videor.monument.type.diga=diga videor.monument.type.dolmen=dolmen videor.monument.type.domus=domus videor.monument.type.edificio=edificio videor.monument.type.edificio di culto=edificio di culto videor.monument.type.faro=faro videor.monument.type.fontana=fontana videor.monument.type.fontana_monumentale=fontana monumentale videor.monument.type.fornace=fornace videor.monument.type.foro=foro videor.monument.type.fortezza=fortezza videor.monument.type.galleria_stradale=galleria stradale videor.monument.type.impianto_balneare=impianto balneare videor.monument.type.impianto_termale=impianto termale videor.monument.type.insediamento_fortificato=insediamento fortificato videor.monument.type.insediamento_palafitticolo=insediamento palafitticolo videor.monument.type.insediamento_rupestre=insediamento rupestre videor.monument.type.insediamento_urbano=insediamento urbano videor.monument.type.luogo di culto all’aperto=luogo di culto all’aperto videor.monument.type.lupanare=lupanare videor.monument.type.magazzino=magazzino videor.monument.type.mansio=mansio videor.monument.type.mausoleo=mausoleo videor.monument.type.menhir=menhir videor.monument.type.mercato=mercato videor.monument.type.miniera=miniera videor.monument.type.molo=molo videor.monument.type.monumento_funerario=monumento funerario videor.monument.type.necropoli=necropoli videor.monument.type.nuraghe=nuraghe videor.monument.type.odeon=odeon videor.monument.type.officina=officina videor.monument.type.ospedale=ospedale videor.monument.type.palafitta=palafitta videor.monument.type.palazzo=palazzo videor.monument.type.palestra=palestra videor.monument.type.panificio=panificio videor.monument.type.pavimentazione=pavimentazione videor.monument.type.piazza=piazza videor.monument.type.ponte=ponte videor.monument.type.porta=porta videor.monument.type.portico=portico videor.monument.type.porto=porto videor.monument.type.pozzo=pozzo videor.monument.type.recinto=recinto videor.monument.type.rocca=rocca videor.monument.type.santuario=santuario videor.monument.type.sepolcreto_rupestre=sepolcreto rupestre videor.monument.type.sostruzione=sostruzione videor.monument.type.stadio=stadio videor.monument.type.stalla=stalla videor.monument.type.strada=strada videor.monument.type.struttura_muraria=struttura muraria videor.monument.type.strutture_murarie=strutture murarie videor.monument.type.taverna=taverna videor.monument.type.teatro=teatro videor.monument.type.tintoria=tintoria videor.monument.type.tofet=tofet videor.monument.type.tomba=tomba videor.monument.type.torre=torre videor.monument.type.tracciato_viario=tracciato viario videor.monument.type.viadotto=viadotto videor.monument.type.villa=villa videor.monument.type.villaggio=villaggio videor.monument.type.villaggio_nuragico=villaggio nuragico
subst space with underscore
2016-08-23T10:35:44.000Z
^[\p{L}\d-.&*._()[\] ]*$
uu
regexp
2016-09-11T10:44:07.000Z
Filter of the latest projects based on SPB2 built from MASTER branch
^.+((V2)\s-\s).*Master\s*$
AppMessages V2 - Dev AppMessages V2 - Master AWS - Octopus Release Bellhop Model V2 - Dev Bellhop Model V2 - Master BellHop Services V2 - Dev BellHop Services V2 - Master BellHop V2 - Dev BellHop V2 - Master BSG Log4j Extras V2 - Dev BSG Log4j Extras V2 - Master BSG-BOM - Dev BSG-BOM - Master BSG-BOM V2 - Dev BSG-BOM V2 - Master Core Model V2 - Dev Core Model V2 - Master Core Services V2 - Dev Core Services V2 - Master DealerLocator - Dev EMS Services V2 - Dev EMS Services V2 - Master Entitlements REST API V2 - Dev Entitlements REST API V2 - Master Entitlements Services V2 - Dev Entitlements Services V2 - Master Entitlements SOAP API V2 - Dev Entitlements SOAP API V2 - Master FlexNet Services - Dev FlexNet Services - Master GetNodeInfo BusSys-Build-Slave-01 GetNodeInfo BusSys_Corp_Build_Slave GetNodeInfo Master Laipac Services V2 - Dev Laipac Services V2 - Master LDK Services V2 - Dev LDK Services V2 - Master LicenseAdmin - Dev LicenseAdmin - Master List All Jobs Lite Services V2 - Dev Lite Services V2 - Master LiteFlexNetIntegration V2 - Dev LiteFlexNetIntegration V2 - Master LiteIntegration - Dev LiteIntegration - Master Messaging Services V2 - Dev Messaging Services V2 - Master MTPConsumer - Dev MTPConsumer - Master OptionKeys - Dev OptionKeys - Master OptionKeysAPI - Dev OptionKeysAPI - Master Panther REST API V2 - Dev Pools API V2 - Dev Pools API V2 - Master Pools Model V2 - Dev Pools Model V2 - Master Pools Services V2 - Dev Pools Services V2 - Master Preconfigured API V2 - Dev Preconfigured API V2 - Master SCL Client V2 - Dev SCL Client V2 - Master SentinelCloud Services V2 - Dev SentinelCloud Services V2 - Master SubscriptionManager V2 - Dev SubscriptionManager V2 - Master TermsOfService - Master Test Support V2 - Dev Test Support V2 - Master Tid Services V2 - Dev Tid Services V2 - Master Upload templates to S3 - branch2Dev Upload templates to S3 - Dev Upload templates to S3 - Master Upload templates to S3 - Test VirtualWarehouse - Dev VirtualWarehouse - Master VirtualWarehouse Services V2 - Dev VirtualWarehouse Services V2 - Master VW Lite API - Dev VW Lite API - Master VW Remedy Events - Dev VW Remedy Events - Master VW Remedy Events Consumer - Dev VW Remedy Events Consumer - Master VW Remedy Events Lib - Dev VW Remedy Events Lib - Master VW Scheduled Tasks V2 - Dev VW Scheduled Tasks V2 - Master VW Sentinel V2 - Dev VW Sentinel V2 - Master VW Subscriptions V2 - Dev VW Subscriptions V2 - Master VW5 - Dev VW5 - Master WooCommerce API V2 - Dev WooCommerce API V2 - Master WooCommerce Model V2 - Dev WooCommerce Model V2 - Master WooCommerce Services V2 - Dev WooCommerce Services V2 - Master
Jenkins: 4 - Master V2 Only
2020-04-01T21:39:05.000Z
(\w)(?=\1)
5228833336355848549915459366737982598312959583817455621545976784792489468198365998232722734876612332352376192813552949814275947575774339529811976644361517795586998319242241614813622734255797569571577699238592667287428166398221572885869416419682687759743978434571821267146514338394624525648338739929479912368172669885577319718389278168766844487948761697438722556857882433224393723131298876252626643517236883999115665656935521675772866516185899317132494716723615493476397115627687887665194781746377341468995954554518252916859227397693885254329628812355612487594445522395853551734567498838382248616137969637971369615443599973588326388792893969924855316437952313492551671545714262784738343517166544197194547173515155927244175447296474282154114951181648317875827525814453758846194548872789943372281952995222779173812444186491115426476188672253249744478946863317915136832199132868917891243591195719354721129116229164688256853628339233919671468781913167415624214152793864585332944468428849171876873433621524242289488135675313544498245498637424139153782925723745249728743885493877792648576673196889949568317234125863369187953788611841388353999875519172896329524346527265231767868839696693328273381772726782949166112932954356923757485139367298699922984925977724972944277991686823219295939734313874834861796179591659174726432357533113896212781566659154939419866797488347448551719481632572231632463575591599696388223344219228325134233238538854289437756331848887242423387542214691157226725179683638967415678697625138177633444765126223885478348951332634398291612134852858683942466178329922655822225426534359191696177633167962839847985826676955417426617126288255366123169174674348417932158291334646767637764323226842771523598562429399935789788215958367362467652444854123951972118358417629679454978687337137675495295768451719631999398617828287671937584998697959425845883145736323818225129311845997214987663433375689621746665629187252511643969315283316269222835744532431378945137649959158495714472963839397214332815241141327714672141875129895
day1
2017-12-14T17:02:45.000Z
^([\d]{4})[\-]([\d]{4})[\-]([\d]{4})[\-]([\d]{4})$
1234-5678-9012-3412 5645-6789-7897-9879 87979879879798798 13156465487987 54654 231321 45654 464 3213 5464
js CC validation regex
2017-05-26T10:09:04.000Z
ipc cpc fi
(?P<ipc_cpc_fi>\b(?P<section>[A-HY])(?(section)(?P<class>\d{2})?)(?(class)(?P<subclass>[A-Z])?)(?(subclass) *(?P<group>\d{1,})?)(?(group)(?:/(?P<subgroup>\d{1,}))?)(?(subgroup) *(?P<subsubgroup>[A-Z]?))\b)
FI F15D 1/08 A 3H091 for releasing the airflow widely (combined with the Coanda effect) especially controlling the flow direction from nozzles 気流を広角に放出させるためのもの〔コアンダ効果を併用するもの〕特にノズルからの流れ方向制御 FI F24F 13/08 C 3L081 Fluid devices (control members using Coanda effect) 流体素子,例.コアンダ効果を用いる制御部材 CPC B01F5/0293 {the jet injector being of coanda type, i.e. having a surface to attract the jet for adjusting its direction} {ジェットインジェクターがコアンダ型であるもの,すなわちその方向に噴射流を引き付ける面をもつもの} CPC B07B7/0865 {using the coanda effect of the moving gas stream} {気体流れのコアンダ効果を用いるもの} CPC B08B2205/005 Using the coanda effect of the gas flow/stream ガス流/ガスの流れのコアンダ効果を使用するもの CPC B63H2011/002 {using Coanda effect, i.e. the tendency of fluid jets to be attracted to nearby surfaces} CPC B65H29/248 {with coanda effect (separating from a stack B65H3/14)} {コアンダ効果をもつもの(積層物からの分離B65H3/14)} CPC F05D2270/173 by the Coanda effect コアンダ効果によるもの CPC F15C1/008 {Other applications, e.g. for air conditioning, medical applications, other than in respirators, derricks for underwater separation of materials by coanda effect, weapons} {他の適用,例.空調,医療への適用,呼吸マスク以外のもの,コアンダ効果による物質の水面下分離用のやぐら,武器} CPC F15C1/08 Boundary-layer devices, e.g. wall-attachment amplifiers {coanda effect (fluid oscillators of pulse generators F15B21/12)} 境界層装置,例.壁面付着形素子,{コアンダ効果(パルス発生機の流体発振機F15B21/12)} CPC F24F2221/28 using the Coanda effect コアンダ効果を用いるもの CPC F26B13/104 {supported by fluid jets only; Fluid blowing arrangements for flotation dryers, e.g. coanda nozzles} {流動体噴射のみにより支持されるもの;浮動乾燥機のための流動体吹き付け装置,例.コアンダノズル} CPC Y10S239/07 Coanda コアンダ CPC Y10T137/206 Flow affected by fluid contact, energy field or coanda effect [e.g., pure fluid device or system]
Patent Classfication
2019-08-07T04:12:30.000Z
Matches most of the URLs I through at it. Did not find any ULR that it doesn't match yet.
^(?:https?:\/\/)?(?:www\.)?[\d\w\.-]+(?:\.|:)(?:[a-z\.]{2,6}|\d+)\/?.*$
https://regex101.com/ https://www.variables.sh/complex-regular-expression-examples https://search.brave.com/search?q=regex+challenges&source=desktop https://web.whatsapp.com/ https://www.youtube.com/watch?v=fc_RvxTtIwc https://text-auditor.netlify.app/ https://github.com/Dashrath-Sharma http://github.com/Dashrath-Sharma https://onecompiler.com/javascript/3zqzyu2g4 http://localhost:3000/ https://www.codingame.com/clashofcode/clash/report/3342454a92e4c660d772438bac8b2ef73de3c8f https://react.dev/learn/thinking-in-react https://dapp-world.com/course/introduction-to-solidity-Ynws/working-of-traditional-dapps-compared-to-dapps/reading http://www.google.com https://www.google.com http://google.com https://google.com http://www.google.com/ https://www.google.com/ http://google.com/ https://google.com/ http://www.google.com/index.html https://www.google.com/index.html http://google.com/index.html https://google.com/index.html
Match URLs
2023-10-30T13:25:47.000Z
The official expression used for variable names, class names, etc. From http://www.php.net/manual/en/language.variables.basics.php
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
PHP identifier
2015-11-14T09:55:24.000Z
^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
DEUTDEFF500
SWIFT code
2016-09-12T11:41:19.000Z
Gets all parts of URL including port, username, password, fragment, query, and path
(http|https)\:\/\/(?:(.+?)(?:\:(.+?))?\@)?((?:[\w-]+\.)+)([A-Za-z0-9]+)(?:\:(\d{2,5}))?((?:\/[\w-%.]*)+)?(\?(?:[\w-%&="'+,]+)?)?(\#(?:[^#]+)?)?
http://username:[email protected]:443/pathabc?query="abc"#fragment
URL
2015-06-03T17:33:28.000Z
nig nigger nignog n1gger n1gg3r
Test
2015-11-16T00:01:15.000Z
Simple check on the correct format of a time stamp including time zone information
\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([.]\d{1,3})?(Z|[-+]\d{2}:\d{2})
2015-05-05T13:15:25+02:00 2015-05-05T13:15:25Z 2015-05-05T13:15:25-02:00 2015-05-05T13:15:25.023+02:00 2015-05-05T13:15:25 9999-95-23T13:12:76Z 2015-05-05T13:15:25.123Z
Timestamp including time zone information
2015-07-15T15:42:20.000Z
dsadsadsadsa
(2014[0-5]{2}|20[0-3]{2}[0-9]{2})
/var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20130717-053058.jpa /var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20140707-145230.jpa /var/www/u4534146/data/www/xn--80adpfjfv6e5c.xn--p1ai/administrator/components/com_akeeba/backup/site-www.xn--80adpfjfv6e5c.xn--p1ai-20140707-141309.jpa /var/www/u4551186/data/www/lovozero.net/administrator/components/com_akeeba/backup/site-lovozero.net-20140506-182906.jpa /var/www/u4551186/data/www/lovozero.net/administrator/components/com_akeeba/backup/site-lovozero.net-20140721-091725.jpa /var/www/u4551186/data/www/ruslapland.com/administrator/components/com_akeeba/backup/site-ruslapland.com-20140505-055235.jpa /var/www/u4656806/data/www/flowerskhv.ru/administrator/components/com_akeeba/backup/site-flowerskhv.ru-20130801-083230.zip /var/www/u4656806/data/www/flowerskhv.ru/administrator/components/com_akeeba/backup/site-flowerskhv.ru-20130801-080342.jpa /var/www/u4763625/data/www/spbkk.org/administrator/components/com_akeeba/backup/site-www.spbkk.org-20131202-081827.z01 /var/www/u6412275/data/www/keramicheskaya-cherepitsa.ru/administrator/components/com_akeeba/backup/site-koramic7.ru-20140615-113953.zip /var/www/u6412275/data/www/keramicheskaya-cherepitsa.ru/administrator/components/com_akeeba/backup/site-koramic7.ru-20140615-115049.zip /var/www/u6559515/data/www/division.nnov.ru/administrator/components/com_akeeba/backup/site-division.nnov.ru-20130814-124501.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131004-051700.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131001-103321.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20130918-132300.jpa /var/www/u7357881/data/www/www.na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131004-051700.jpa /var/www/u7357881/data/www/www.na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131001-103321.jpa /var/www/u7357881/data/www/www.na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20130918-132300.jpa /var/www/u7726504/data/www/injinterior.com/administrator/components/com_akeeba/backup/site-injinterior.com-20131002-163453.zip [root@server41 ~]# find /var/www/*/data/www/*/administrator/components/com_akeeba/backup/ -size +50M -type f -regextype posix-extended -regex '.+20[0-9].+' /var/www/u0017144/data/www/camper.diamonds/administrator/components/com_akeeba/backup/site-camper.diamonds-20140702-232727.jpa /var/www/u0017144/data/www/camper.diamonds/administrator/components/com_akeeba/backup/site-camper.diamonds-20140703-115210.jpa /var/www/u0017144/data/www/camper.diamonds/administrator/components/com_akeeba/backup/site-camper.diamonds-20140703-095129.jpa /var/www/u3669070/data/www/empyrio.com/administrator/components/com_akeeba/backup/site-empyrio.com-20130531-180641.zip /var/www/u3669070/data/www/empyrio.com/administrator/components/com_akeeba/backup/site-empyrio.com-20130706-065422.zip /var/www/u3669070/data/www/empyrio.com/administrator/components/com_akeeba/backup/site-empyrio.com-20130511-104029.zip /var/www/u3671785/data/www/coffeetehnika.ru/administrator/components/com_akeeba/backup/site-coffeetehnika.ru-20140701-134919.jpa /var/www/u3671785/data/www/www.coffeetehnika.ru/administrator/components/com_akeeba/backup/site-coffeetehnika.ru-20140701-134919.jpa /var/www/u3677644/data/www/lea/administrator/components/com_akeeba/backup/site-www.luxury-escort-agency.ru-20130524-133127.jpa /var/www/u3704435/data/www/spacegiraffe.ru/administrator/components/com_akeeba/backup/site-spacegiraffe.ru-20120321-150956.jpa /var/www/u3708456/data/www/astron-fit.ru/administrator/components/com_akeeba/backup/site-astron-fit.ru-20121015-123938.jpa /var/www/u3708456/data/www/astron-fit.ru/administrator/components/com_akeeba/backup/site-astron-fit.ru-20130225-140418.jpa /var/www/u4409328/data/www/logitechstore.ru/administrator/components/com_akeeba/backup/site-logitechstore.ru-20140720-145007.zip /var/www/u4534146/data/www/100-89.ru/administrator/components/com_akeeba/backup/site-100-89.ru-20140611-205311.jpa /var/www/u4534146/data/www/100-89.ru/administrator/components/com_akeeba/backup/site-100-89.ru-20140611-211200.jpa /var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20130717-054930.jpa /var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20140218-061451.jpa /var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20130717-053058.jpa /var/www/u4534146/data/www/nordfarm89.ru/administrator/components/com_akeeba/backup/site-nordfarm89.ru-20140707-145230.jpa /var/www/u4534146/data/www/xn--80adpfjfv6e5c.xn--p1ai/administrator/components/com_akeeba/backup/site-www.xn--80adpfjfv6e5c.xn--p1ai-20140707-141309.jpa /var/www/u4551186/data/www/lovozero.net/administrator/components/com_akeeba/backup/site-lovozero.net-20140506-182906.jpa /var/www/u4551186/data/www/lovozero.net/administrator/components/com_akeeba/backup/site-lovozero.net-20140721-091725.jpa /var/www/u4551186/data/www/ruslapland.com/administrator/components/com_akeeba/backup/site-ruslapland.com-20140505-055235.jpa /var/www/u4656806/data/www/flowerskhv.ru/administrator/components/com_akeeba/backup/site-flowerskhv.ru-20130801-083230.zip /var/www/u4656806/data/www/flowerskhv.ru/administrator/components/com_akeeba/backup/site-flowerskhv.ru-20130801-080342.jpa /var/www/u4763625/data/www/spbkk.org/administrator/components/com_akeeba/backup/site-www.spbkk.org-20131202-081827.z01 /var/www/u6412275/data/www/keramicheskaya-cherepitsa.ru/administrator/components/com_akeeba/backup/site-koramic7.ru-20140615-113953.zip /var/www/u6412275/data/www/keramicheskaya-cherepitsa.ru/administrator/components/com_akeeba/backup/site-koramic7.ru-20140615-115049.zip /var/www/u6559515/data/www/division.nnov.ru/administrator/components/com_akeeba/backup/site-division.nnov.ru-20130814-124501.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131004-051700.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20131001-103321.jpa /var/www/u7357881/data/www/na-odo.ru/administrator/components/com_akeeba/backup/site-na-odo.ru-20130918-132300.jpa
tesdsa
2014-07-22T15:06:24.000Z
(?=[-_a-zA-Z0-9]*?[A-Z])(?=[-_a-zA-Z0-9]*?[a-z])(?=[-_a-zA-Z0-9]*?[0-9])[-_a-zA-Z0-9]{6,}
Gjbs78tYU3
8
2015-10-30T17:17:54.000Z
^\/\*?$|^(?:\/[^\W_]+)+(?:\/?\*)?$
# Should match: / /path /path/path /path/path/path /* /path/* /path/path/* /path/path/path/* /path* /path/path* /path/path/path* # Should not match: /path/ /path/path/ /path/path/path/ /path*/ /path*/path /path*/path/ /path/path*/path /path/path/path*/
path pattern with 10 versions
2019-09-04T09:13:36.000Z
title
^\s*\((.+?)\)(?: .*)$
(RA-B) RA-B三室两卫 (RA-B(NOC)) RA-B-NOC三室两卫 (RA-A) RA-A三室两卫 (RA-A(T)) RA-A(T)三室两卫 (more wicked) example (WTF CODE CONTAINS WHITESPACES!) still it works This (violates) the rule. (Needs a whitespace)after the parenthesis. ((Nested) parentheses) causes unexpected results. (Badly (paired) parentheses ain't my fault.
ACM Code Extraction
2021-11-05T03:07:49.000Z
Match ISO 639-1 language codes
^([a-z]{2})(\-([a-z]{2}))?$
en-US ar-dz zn-CN tr ru
Match ISO 639-1 language codes
2023-12-14T11:21:39.000Z
Simple AWS ARN Regex
^(arn:(?:aws|aws-cn|aws-us-gov):[\w\d-]+:[\w\d-]*:\d{0,12}:[\w\d-]*\/?[\w\d-]*)(\/.*)?.*$
arn:aws:sqs:us-east-1:123456789012:XYZ arn:aws:s3:::123456789012-ssp-mfa-tokens/* arn:aws:s3:::123456789012-ssp-mfa-tokens arn:aws:iam::123456789012:user/Development/product_1234/* arn:aws:iam::123456789012:root arn:aws:iam::123456789012:user/JohnDoe arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/JaneDoe arn:aws:iam::123456789012:group/Developers arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_A/Developers arn:aws:iam::123456789012:role/S3Access arn:aws:iam::123456789012:role/application_abc/component_xyz/RDSAccess arn:aws:iam::123456789012:role/aws-service-role/access-analyzer.amazonaws.com/AWSServiceRoleForAccessAnalyzer arn:aws:iam::123456789012:role/service-role/QuickSightAction arn:aws:iam::123456789012:policy/UsersManageOwnCredentials arn:aws:iam::123456789012:policy/division_abc/subdivision_xyz/UsersManageOwnCredentials arn:aws:iam::123456789012:instance-profile/Webserver arn:aws:sts::123456789012:federated-user/JohnDoe arn:aws:sts::123456789012:assumed-role/Accounting-Role/JaneDoe arn:aws:iam::123456789012:mfa/JaneDoeMFA arn:aws:iam::123456789012:u2f/user/JohnDoe/default (U2F security key) arn:aws:iam::123456789012:server-certificate/ProdServerCert arn:aws:iam::123456789012:server-certificate/division_abc/subdivision_xyz/ProdServerCert arn:aws:iam::123456789012:saml-provider/ADFSProvider arn:aws:iam::123456789012:oidc-provider/GoogleProvider arn:partition:service:region:account-id:resource-id arn:partition:service:region:account-id:resource-type/resource-id arn:partition:service:region:account-id:resource-type:resource-id
Simple AWS ARN Regex
2021-05-30T13:34:17.000Z
(ایران)?(\d{2})(?:-|,| )(\d{3})([ آابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]{1})(\d{2})
ایران48-279ع17 48-279ع17 ایران48,279ع17 48,279ع17 ایران48 279ع17 48 279ع17
Iran plate number for 6 case
2019-01-23T12:13:26.000Z
try to match just the name from this: </p><div class="copyright">Copyright © 2005 Candy Arrington. Used by permission. All rights reserved.</div> <div id="nextPrev">
.*Copyright . \d{4} b?y? ?(.*)\.
</p><div class="copyright">Copyright © 2005 Candy Arrington. Used by permission. All rights reserved.</div> <div id="nextPrev">
Why doesn't it stop at the period?
2014-04-16T20:42:57.000Z
((?<=^|\s)[a-z])|([a-z](?:$|\s))
ddewd how can mirrors be real if our eyes aren't real
Match the first and last char of a word
2015-08-05T16:16:43.000Z
(?:v=|be\/|ed\/)(.*?)(?:$|&)
https://www.youtube.com/watch?v=OWoQpzdB5gs&feature=youtu.be
youtube parser
2015-04-23T10:03:31.000Z
(?<!")((?>[\w- ]+))(?!")
000000,"NAMPUNG-NI 66 KV TAP SONGCHO"ON",
Issues
2015-12-11T22:50:34.000Z
Parse for the BIGipServerPool set by F5 load balancers
(Set-Cookie.*BIGipServerPool-ReportsData-Dev.)(.*)(;.*)
BIGipServerPool Parsing
2015-02-11T14:02:26.000Z
Só aceita emails que comecem com letras ou números, tenha de 0 a 32 caracteres, letras, números, ponto ou hífen, antes do @
^([a-z0-9][a-z0-9-.]{0,32}[a-z0-9])(\@[a-z0-9][a-z0-9-]{0,32}[a-z0-9])((?:\.[a-z]{2,5}){1,2})$
Validador Email
2015-08-28T16:58:34.000Z
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
(?P<y>\d{4}) - (?P<m>\d{2}) (?: - (?P<d>\d{2}) )? (?: [T\s] (?P<hh>\d{2})\: (?P<mm>\d{2}) (?:\:(?P<ss>\d{2}))? (?:[+-](?P<tz>\d{2}\:\d{2}))? (?: (?:\.(?P<u>\d{2,4}))?[Z] )? )?$
2008-09-15T15:53:00 2008-09-15 2008-09-15 2007-03-01T13:00:00Z 2015-10-05T21:46:54+00:00 2015-10-05T21:46:54Z 2008-09-15 11:12:13 2008-09-15 11:12 2008-09 1988-05-26T23:00:00.000Z 2008
ISO 8601 Dates
2015-10-06T10:26:49.000Z
(?<prm>\w+)\s+.*:\s*=\s*'(?<tbl>\w+)'\s*;(?:.|\n)*(?:alter|create)\s+table\s+'\s*\|\|\s*(\k<prm>\s+)
DECLARE COUNTER NUMBER(10) := 0; pTABLENAME VARCHAR2(100) := 'ALM_AL1'; pCOLUMNNAME VARCHAR2(100) := 'FLOATACCRUALDCBASISDAYC'; pDATATYPE VARCHAR2(100) := 'NVARCHAR2(50) NULL'; pSQL VARCHAR2(32000) := ' ALTER TABLE ' || pTABLENAME || ' ADD ' || pCOLUMNNAME || ' ' || pDATATYPE; BEGIN SELECT COUNT(0) INTO COUNTER FROM USER_TAB_COLUMNS WHERE TABLE_NAME=UPPER(pTABLENAME) AND COLUMN_NAME=UPPER(pCOLUMNNAME); IF COUNTER>0 THEN dbms_output.put_line(pTABLENAME || ' tablosunda ' || pCOLUMNNAME || ' kolonu var.'); ELSE EXECUTE IMMEDIATE pSQL; dbms_output.put_line(pTABLENAME || ' tablosuna' || pCOLUMNNAME || ' kolonu oluÅ?turuldu.'); END IF; EXCEPTION WHEN OTHERS THEN dbms_output.put_line('HATA: ' || pSQL || ' -> SQLERRM: ' || SQLERRM); END; / DECLARE COUNTER NUMBER(10) := 0; pTABLENAME VARCHAR2(100) := 'ALM_AL2'; pCOLUMNNAME VARCHAR2(100) := 'RATETYPETYPE'; pDATATYPE VARCHAR2(100) := 'NVARCHAR2(40) NULL'; pSQL VARCHAR2(32000) := ' ALTER TABLE ' || pTABLENAME || ' ADD ' || pCOLUMNNAME || ' ' || pDATATYPE; BEGIN SELECT COUNT(0) INTO COUNTER FROM USER_TAB_COLUMNS WHERE TABLE_NAME=UPPER(pTABLENAME) AND COLUMN_NAME=UPPER(pCOLUMNNAME); IF COUNTER>0 THEN dbms_output.put_line(pTABLENAME || ' tablosunda ' || pCOLUMNNAME || ' kolonu var.'); ELSE EXECUTE IMMEDIATE pSQL; dbms_output.put_line(pTABLENAME || ' tablosuna' || pCOLUMNNAME || ' kolonu oluÅ?turuldu.'); END IF; EXCEPTION WHEN OTHERS THEN dbms_output.put_line('HATA: ' || pSQL || ' -> SQLERRM: ' || SQLERRM); END; / DECLARE COUNTER NUMBER(10) := 0; pTABLENAME VARCHAR2(100) := 'ALM_AL3'; pCOLUMNNAME VARCHAR2(100) := 'PAYCURRENCYUNIT'; pDATATYPE VARCHAR2(100) := 'NVARCHAR2(3) NULL'; pSQL VARCHAR2(32000) := ' ALTER TABLE ' || pTABLENAME || ' ADD ' || pCOLUMNNAME || ' ' || pDATATYPE; BEGIN SELECT COUNT(0) INTO COUNTER FROM USER_TAB_COLUMNS WHERE TABLE_NAME=UPPER(pTABLENAME) AND COLUMN_NAME=UPPER(pCOLUMNNAME); IF COUNTER>0 THEN dbms_output.put_line(pTABLENAME || ' tablosunda ' || pCOLUMNNAME || ' kolonu var.'); ELSE EXECUTE IMMEDIATE pSQL; dbms_output.put_line(pTABLENAME || ' tablosuna' || pCOLUMNNAME || ' kolonu oluÅ?turuldu.'); END IF; EXCEPTION WHEN OTHERS THEN dbms_output.put_line('HATA: ' || pSQL || ' -> SQLERRM: ' || SQLERRM); END; /
Find parameters in Oracle dynamic scripts
2020-03-05T07:28:45.000Z
Regex for UK phones (without +)
^((00|0)?44[1-9]{1}[0-9]{9})$
UK phones
2023-10-04T08:49:06.000Z
Valideer of een bedrag voldoet aan de volgende voorwaarden: 1. Max 10 cijfers, geen komma en decimalen (12345690) 2. Max 10 cijfers gevolgd door een komma en twee decimalen (1234567890,12)
^(?![0])(([0-9]{1,10})|([0-9]{1,10}),[0-9]{2})$
1234567890 1234567890,00 1234567890,01 1234567890,99 0123456789 0123456789,12
Valideer bedrag
2019-08-30T10:48:30.000Z
(?i)\bflirt[\wá-ú]+
Palabras que empiezan con flirte 13 letras: flirtearíamos, Palabras que empiezan con flirte 12 letras: flirteasteis, flirtearemos, flirteáramos, flirteábamos, flirteáremos, flirteásemos, flirtearíais, Palabras que empiezan con flirte 11 letras: flirtearían, flirtearéis, flirtearías, flirteareis, flirteaseis, flirtearais, flirteabais, Palabras que empiezan con flirte 10 letras: flirteemos, flirtearán, flirtearás, flirteases, flirteados, flirtearía, flirteabas, flirteaban, flirteasen, flirteaste, flirtearse, flirtearan, flirtearas, flirteando, flirteamos, flirtearen, flirteares, flirtearon, flirteadas, Palabras que empiezan con flirte 9 letras: flirteáis, flirteéis, flirteara, flirtease, flirteado, flirteada, flirteaba, flirteare, flirteará, flirtearé: Palabras que empiezan con flirte 8 letras: flirteas, flirtean, flirtear, flirteos, flirtead, flirtees, flirteen, Palabras que empiezan con flirte 7 letras: flirteé, flirteo, flirtea, flirtee, flirteó,
Words that start with...
2014-05-20T05:55:54.000Z
Extensions sourced from [here](https://en.wikipedia.org/wiki/Tar_(computing)#Suffixes_for_compressed_files),
tar(.(bz2|gz|lz(ma)?|xz|Z))?|t(bz?2?|gz|lz|xz|Z)$
tb2 tbz tbz2
Match common tar file extensions
2018-08-17T16:41:36.000Z
Pages that should be ESI processed.
^(|\/.*)$
/passportuyg /derp /esi_and then
ESI matching
2018-02-20T17:51:11.000Z
^\d{1,2}(\.\d{1,2})?$
保留小数点后两位
2019-04-10T07:34:25.000Z
(.*(DET|NN*)*?).
வெ/NN கலைவாணன்/NN திருப்பத்தூர்/NN செய்தியாளர்/NN சிவகங்கை/NNP மாவட்டம்/NN. அழியும்/NNP நிலையில்/CNJ உள்ள/VNAJ விளையாட்டுக்களுக்கு/NN புத்துணர்வு/NN அளித்து/VNAV இருக்கிறது/VF கொரோனா/NN. சிவகங்கை/NNP மாவட்டம்/NN திருப்பத்தூர்/NNP அருகே/ADV கிராமப்புறப்/NN பகுதிகளில்/CNJ கொரோனா/NN தொற்றுநோய்/NN தடுப்பு/NNC நடவடிக்கையான/NNC ஊரடங்கு/NN உத்தரவால்/CNJ அழியும்/VNAV நிலையில்/CNJ உள்ள/VNAJ கிராமங்களில்/CNJ மண்மணம்/NN மாறாத/VNAJ பாரியம்பரியமிக்க/NN விளையாட்டுக்களுக்கு/NN புத்துணர்வு/NN அளித்து/VNAV இருக்கிறது/VF கொரோனா/NN தமிழ்நாட்டு/NNP கிராமங்களில்/CNJ மண்மணம்/NN மாறாத/VNAJ பாரியம்பரியமிக்க/NN விளையாட்டுக்களான/NN தாயம்/NN ஆடலாமா/NN சொட்டாங்கல்/NN விளையாடலாமா/NN என/CNJ இன்றைய/ADJ சிறுவர்களிடமோ/NN இளைஞர்களிடமோ/NN கேட்டால்/CVB அவர்கள்/PRP புரியாதது/NN போல்/PPO விழிப்பது/NN நாம்/PRP அறிந்ததே/ADJ. அந்த/DET அளவிற்கு/NN பாரம்பரிய/NNC விளையாட்டுக்கள்/NNC என்னவென்றே/NN தெரியாத/VNAJ நிலைதான்/NN இன்றைய/ADJ இளைஞர்களிடம்/NN உள்ளது/CNJ தற்போது/ADV. இந்த/DET விளையாட்டுக்கள்/NN அனைத்தும்/NN அருகி/VNAV விட்டன/NN. ஆனால்/CNJ இந்த/DET விளையாட்டுகளுக்கு/NN மீண்டும்/ADV உயிர்/NN கொடுத்துள்ளது/VF கொரோனா/NN ஊரடங்கு/NN. உத்தரவால்/CNJ வீட்டிற்குள்ளேயே/NN முடங்கிக்/VNAV கிடக்கும்/VNAJ கிராமத்தார்கள்/NN பாரம்பரியமிக்க/NN பழமையான/ADJ தனி/ADJ விளையாட்டான/NN தாயம்/NN விளையாடுதல்/NN பல்லாங்குழி/NN சொட்டாங்கல்/NN உள்ளிட்ட/ADJ விளையாட்டுக்களை/NN தனது/PRP வீட்டில்/CNJ உள்ள/VNAJ நபர்களுடன்/NN விளையாட/NN ஆரம்பித்துள்ளது/VF பழங்காலத்திற்கு/NN திரும்பியுள்ளதை/NN நினைவுபடுத்தியுள்ளது/NN. வயதானவர்கள்/NN தங்களது/PRP பேத்திகளுக்கு/NN சொல்லிக்/VNAV கொடுக்கும்/VNAJ தாயம்/NN விளையாட்டில்/CNJ தற்பொழுது/ADV மாணவர்களும்/NN குழந்தைகளும்/NN ஆர்வம்/NN காட்டி/VNAV வருகின்றனர்/NN. அதே/PRP போன்று/ADV கூட்டாக/ADV இல்லாமல்/VNAV வீட்டிற்குள்ளும்/NN வாசல்/CNJ முன்பு/ADV உள்ள/VNAJ மரநிழலில்/NN இதுபோன்ற/PRP பழமையான/ADJ விளையாட்டுகளிலும்/NN பெற்றோர்கள்/NN பாட்டிகள்/NN சகோதரிகள்/NN இணைந்து/VNAV விளையாடி/NN வருகின்றனர்/NN. கொரோனா/NN பல/NNQ விதத்தில/NN பிரச்சனை/NN என்றாலும்/COM பழமையான/ADJ விளையாட்டுகளை/NN சிறுவர்களுக்கு/CNJ கற்று/VNAV கொடுக்கும்/VNAJ நிலையை/NNC உருவாக்கியுள்ளது/VINT.
sentence selection for Tamil
2020-06-03T12:38:04.000Z
^([^\\]*\\[^\\]*).*$
Conversation with Jared Firl\nParticipants: Jared Firl\nJared FirlThursday, March 27, 2014 at 8:30pm MDT\n\nAlready got it for super cheap from a humble bundle. But thanks for the thought!\nBen James PerryThursday, March 27, 2014 at 8:29pm MDT\n\nYo jared, since you were kind enough to mention the left 4 dead thingy on Christmas, Dead space is free on origin
First Regex
2018-05-21T01:38:14.000Z
a testwizard log extractor for my scripts.
<Item TimeStamp="(?<timestamp>\d*:\d*:\d*.\d*)"[[:blank:]]Duration="(?<duration>\d*:\d*:\d*.\d*)"[[:blank:]]Line="(?<scriptline>\d*)"[[:blank:]]File="(?<scriptfilename>.*)"[[:blank:]]Command="(?<command_name>\w*)"[[:blank:]]Type="(?<severity>\w*)">(?<message>[\D]*)\t(?<time>\d*.\d*)<\/Item>
<Item TimeStamp="00:33:12.88" Duration="00:00:00.00" Line="87" File="all_test_v2.tws" Command="print" Type="Info">Loading Result screen time is: -1</Item> <Item TimeStamp="00:32:32.10" Duration="00:00:00.00" Line="40" File="all_test_v2.tws" Command="print" Type="Info">Loading Search screen time 0.8045754</Item> <Item TimeStamp="00:32:31.16" Duration="00:00:00.00" Line="28" File="all_test_v2.tws" Command="print" Type="Info">Loading Splash screen time is: 4.3964327</Item>
testwizardlog
2018-09-13T15:06:37.000Z
checks for BIN and then 10 digits after.
^(400022|642398|400023)\d{10}$
4000227890123456 6423987890123456 4000237890123456 4000247890123456 400023890123456 40002378901234564
Debit Cards
2020-01-09T13:08:05.000Z
Teste la validité d'une adresse email
^(([a-zA-Z]|[0-9])|([-]|[_]|[.]))+[@](([a-zA-Z0-9])|([-])){2,63}[.](([a-zA-Z0-9]){2,63})+$
Email
2016-06-14T08:35:14.000Z
Get the clean text inside and between html tags without empty strings
(?<=>)((?!\s*<)[\s\S]+?)(?=<)
Get the text from html
2019-10-09T13:54:58.000Z
\[([^)]+)\]
item[20].sku
Match Brackets and anything inside
2013-11-19T18:43:07.000Z
IPs + Domains + Ports + Directories + Files = Full Support
((http|https)(\:\/\/)((([a-zA-Z_\-0-9]{1,2000})(\.)([a-zA-Z_\-0-9]{1,2000})(\.)([a-zA-Z_\-0-9]{1,16}))|(([a-zA-Z_\-0-9]{1,2000})(\.)([a-zA-Z_\-0-9]{1,16})))((([\:\/a-zA-Z\ _\-%0-9\.\?\=]{1,3000})|(\/)|())))
http://127.0.0.1:80
Full URL
2016-06-27T07:49:53.000Z
arised while creating a build gulp task
[\r\n]+\s*\/\/.*TODO:+.*
angular .module('mdKeyboard', ['material.components.bottomSheet']) .directive('mdKeyboard', MdKeyboardDirective) .provider('$mdKeyboard', MdKeyboardProvider); function MdKeyboardDirective($mdKeyboard, $mdBottomSheet, $timeout, $injector, $log) { return { restrict: 'A', require: '?ngModel', scope: { clickOutsideToClose: '=', preserveScope: '=', showInMobile: '=' }, link: function (scope, element, attrs, ngModelCtrl) { if (!ngModelCtrl) { return; } var bottomSheet; // Don't show virtual keyboard in mobile devices (default) //TODO: test detection and reimplement if neccessary //TODO: dissolve dependency to UAParser if possible / use angular or material utils if ($injector.has('UAParser')) { var UAParser = $injector.get('UAParser'); var results = new UAParser().getResult(); var isMobile = results.device.type === 'mobile' || results.device.type === 'tablet'; isMobile = isMobile || (results.os && (results.os.name === 'Android')); isMobile = isMobile || (results.os && (results.os.name === 'iOS')); isMobile = isMobile || (results.os && (results.os.name === 'Windows Phone')); isMobile = isMobile || (results.os && (results.os.name === 'Windows Mobile')); if (isMobile && attrs.showInMobile !== true) { return; } } /* ngVirtualKeyboardService.attach(elements[0], scope.config, function() { $timeout(function() { ngModelCtrl.$setViewValue(elements[0].value); }); }); */ $log.debug(attrs); element .bind('focus', showKeyboard) .bind('blur', hideKeyboard); function showKeyboard() { $log.info('showKeyboard'); bottomSheet = $mdBottomSheet .show({ template: '<md-bottom-sheet class="md-grid" layout="column" ng-cloak>{{keyboard}}</md-bottom-sheet>', controller: KeyboardController, clickOutsideToClose: attrs.clickOutsideToClose || false, preserveScope: attrs.preserveScope || true }) .then(function () { }); } function hideKeyboard() { $log.info('hideKeyboard'); if (bottomSheet) { $mdBottomSheet.hide(); delete bottomSheet; } } function KeyboardController($scope, $mdBottomSheet) { $scope.keyboard = 'TEST'; } // open bottomsheet with keyboard on focus TODO: and without backdrop scope.keyboard = 'test'; // When navigation force destroys an interimElement, then // listen and $destroy() that interim instance... scope.$on('$destroy', function () { $mdKeyboard.destroy(); }); } }; } function MdKeyboardProvider($$interimElementProvider) { return $$interimElementProvider('$mdKeyboard') .setDefaults({ options: keyboardDefaults }); function keyboardDefaults() { return { themable: true, layout: defaultLayout }; function defaultLayout() { // get default language return 'en-us'; } } }
Replace TODOS in JetBrains IntelliJ products
2016-02-06T19:51:41.000Z
For example: /foldera/folderb/filename.txt?value=abc Selects: /foldera/folderb
\/[^\/]+$
/foldera/folderb/filename.txt?lkjh=sdrgh
For regex replace: Removes last part of directory/filename
2016-09-23T07:26:16.000Z
Implements https://support.microsoft.com/en-us/kb/909264
^[^.\\\u002F:\u002A\u003F\u0022\u003C\u003E|]{1}[^\\\u002F:\u002A\u003F\u0022\u003C\u003E|]{0,14}$
Windows Machine Name
2016-09-05T15:26:13.000Z
[cs]d{0,1}
abcddsasdsa
Sample
2014-05-22T08:35:33.000Z
^(?=.{1,22}$)((?=[a-z0-9-]{1,63}\.)(xn--+)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}
app-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: (?:\.0+)?0*\ [-+]?0*\3\83(?:\.0+)?0*\ [-+]?0*\5\85(?:\.0+)?0*$ | (\.?\d*?)0*\ [-+]?0*\3\83\g{-1}(?:\.0+)?0*\ [-+]?0*\5\85$ | (\.?\d*?)0*\ [-+]?0*\3\83\ [-+]?0*\5\85\g{-1}(?:\.0+)?0*$ | \.?0*\ [-+]?(?:0\B)*+\3\83\.? (?: (?=\d\d((?&f))((\g{-2}?+\.?)\d)) (?=\d(\S*?\g{-4}\g{-2})) (?=0\g{-1}9|1\g{-1}8|2\g{-1}7|3\g{-1}6|4\g{-1}5|5\g{-1}4|6\g{-1}3|7\g{-1}2|8\g{-1}1|9\g{-1}0) \d (?=\S*?(\g{-5}(\g{-5}))) )*+ (?=\d(\g{-3}|(?&f)\.?)) (?=1\g{-1}9|2\g{-1}8|3\g{-1}7|4\g{-1}6|5\g{-1}5|6\g{-1}4|7\g{-1}3|8\g{-1}2|9\g{-1}1) \d0*\ [-+]?0*\5\85\g{-2}?+\.?\d0*$ ) )
0 0 0 -1 0 -1 1 0 -1 -1 100 99 1 99 1000 -10.000 0.0001 -9.9999 -234434.943279 9099898.9044 8865463.961121
Match "A B C" where A+B=C (final version)
2018-11-02T20:58:44.000Z
Xpra(?<vcxXPRA>\s\d{1,2}\/\d{1,2}\/\d{1,2})\sF:(?<vcxXPRAfreqname>\w{1,9})\s(?<vcxXPRAfreq>\d{3},\d{3})\sTx\((?<vcxXPRAtxPTT>\d\d\d\d)\s(?<vcxXPRAtxPTTmin>\d{2,4}):(?<vcxXPRAtxPTTsec>\d{2,4})\)\sRx\((?<vcxXPRArxSQ>\d\d\d\d)\s(?<vcxXPRArxSQmin>\d{2,4}):(?<vcxXPRArxSQsec>\d{2,4})\);$
VCX_Stat;31.07.2018 20:43:59;S;ATCC#3 V 3 0 VCX - SVS ACC Phone/vieint1044(1):366001-&gt371701 Voc TRM:nrm.cl.clr T:0:19 CL: 42 PL: 42 CI: 0 CPT:4; VCX_Stat;14.10.2018 23:40:13;S;INN#3 V 3 0 'inn2pat_1003' (4) Total: 0:29; VCX_Stat;14.10.2018 23:39:57;S;ATCC#1 V 1 0 Xpra 8/1/1 F:MIL3 139,100 Tx(0000 00:00) Rx(0001 00:04); VCX_Stat;14.10.2018 23:38:47;S;ATCC#2 V 2 0 VIE BRA/bravie0501:362999-&gt999999 Voc REJ:unall.num. T:0:00 CL: 44 PL: 44 CI: 0 CPT:4; VCX_Stat;14.10.2018 23:38:35;S;ATCC#1 V 1 0 VCX - SVS ACCFuKOR_/vieint1049(2):676135-&gt661635 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:35;S;ATCC#1 V 1 0 INN - VIE__2MBit__/innvie1201(3):676135-&gt661635 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:35;S;INN#3 V 3 0 INN2 - VOR_________/inn2vor_1005(2):676135-&gt661635 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:35;S;INN#3 V 3 0 INN - VIE__2MBit__/innvie1201(3):676135-&gt661635 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:23;S;INN#3 V 3 0 INN - VIE__2MBit__/innvie1201(3):676134-&gt661634 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:23;S;ATCC#1 V 1 0 /Qsig2M 4/1/2(28):676134-&gt661634 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:23;S;ATCC#3 V 3 0 /Qsig2M 4/1/1(28):676134-&gt661634 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3; VCX_Stat;14.10.2018 23:38:23;S;ATCC#1 V 1 0 INN - VIE__2MBit__/innvie1201(3):676134-&gt661634 Voc TRM:nrm.cl.clr T:0:09 CL: 8 PL: 8 CI: 0 CPT:3;
XPRA
2018-10-16T08:20:13.000Z
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
(?:^\s*([+-])?|\s*(?<![+-])([+-]))\s*(?:(\d+(?:\.\d*)?)\s*\*)?\s*(?<![+-])([+-])?(\d+(?:\.\d*)?)?([xX])?(?:\^(\d+))?\s*
5 + 4 * X + X^2 - 2 + X^2
Equation matching (without equal)
2015-07-01T19:50:21.000Z
(\w+\s+\d{1,2}\s+\d\d:\d\d:\d\d)\s+([a-zA-Z0-9\-]+)\s+[SFIMS:]{1,6}\s+\[([a-zA-Z0-9_\s]+)\s+\(([0-9a-z\-]+)\)\]\[(.+)\]\[(([0-9]+)\:([0-9]+)\:[0-9]+)\]\s+\"(.+)\"\s+\[Classification\:\s+(.+)\]\s+User\:\s+(.+)\,\s+Application\:\s+(.+)\,\s+Client:\s+(.+)\,\s+App Protocol\:\s+(.+)\,\s+Interface Ingress\:\s+([a-zA-Z\-\_0-9]+)\,\s+Interface Egress\:\s+([a-zA-Z\-\_0-9]+)\,\s+Security Zone Ingress\:\s+([a-zA-Z\-\_0-9]+)\,\s+Security Zone Egress\:\s+([a-zA-Z\-\_0-9]+)\,\s+Context\:\s+([a-zA-Z\-\_0-9]+)\,\s+\[Priority\:\s+([0-9]+)\]\s+\{([A-Z]+)\}\s+([0-9.]+):([0-9]+)\s->\s([0-9.]+):([0-9]+)
Aug 7 17:47:38 Sourcefire3D SFIMS: [Primary Detection Engine (b363fd8a-2ec5-11de-91d7-e63c5c5fcc50)][ZurichConnect _ Osservazione][1:402:15] "PROTOCOL-ICMP Destination Unreachable Port Unreachable" [Classification: Misc Activity] User: Unknown, Application: Unknown, Client: Unknown, App Protocol: Unknown, Interface Ingress: s1p3, Interface Egress: s1p4, Security Zone Ingress: Internal, Security Zone Egress: External, Context: Unknown, SSL Flow Status: N/A, SSL Actual Action: N/A, SSL Certificate: 0000000000000000000000000000000000000000, SSL Subject CN: N/A, SSL Subject Country: N/A, SSL Subject OU: N/A, SSL Subject Org: N/A, SSL Issuer CN: N/A, SSL Issuer Country: N/A, SSL Issuer OU: N/A, SSL Issuer Org: N/A, SSL Valid Start Date: N/A, SSL Valid End Date: N/A, [Priority: 3] {ICMP} 172.23.33.201 -> 172.23.34.74, type: Destination Unreachable, code: Port unreachable
Originale
2015-08-07T18:11:20.000Z
^[-+]?\d+$
+19999999
Signed integer
2014-05-28T15:04:11.000Z
Get all URLs: www.lapagina.com pagina.com http://www.lapagina.com http://pagina.com https://www.lapagina.es
(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)
Get URL: www.lapagina.com, pagina.com, http://www.lapagina.com, http://pagina.com https://mypag.us
Full URLs (by dpmontero.es)
2016-10-21T09:47:54.000Z
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
([#]+)\s*([^!]*)\s*(!\[.*\].*\))([^\n]*)
## ![](https://storage.googleapis.com/papyrus_images/e1700ca57ab94c4be987f1c0792d048a)Another Letter From The Editor ## Another Letter From The Editor ![](https://storage.googleapis.com/papyrus_images/e1700ca57ab94c4be987f1c0792d048a)
Fix markdown image in header
2022-10-06T19:15:08.000Z
{\"hiRes\":\"(http.:.*?.jpg)\"
{"hiRes":"https://images-na.ssl-images-amazon.com/images/I/71rUs2a23JL._UL1500_.jpg"
IMG_FULL_1 (PAG2)
2018-12-22T05:13:43.000Z
<ruby><rb>[a-zA-Z]+?<\/rb><rt>(.+?)<\/rt><\/ruby>
Replacement about <ruby> in HTML
2017-05-26T21:33:04.000Z
The new guy, trying to get my mess out of the way to be able to be compiled together the correct way. Still working on it.
bigcook12345.eth
bigcook12345.eth
2020-11-22T22:33:00.000Z
;*((?<!&[^;]+);)
selecting :;;;;; ede ; bute not &#jjjdjd; ;
select semicolon except entity
2018-05-07T00:37:57.000Z
1 3 AN IATA Airport or IATA City Code. For test-bed nodes, provider specific code. 2 1 AN Provider code : - A ARINC - B IBS - C Ink Aviation - D BagDrop Systems - E Edge Airport - I AirIT - K IIAC and Asiana IDT - R RESA - S SITA - T Travelsky - U Ultra 3 1 AN If testbed node, set to \Z", otherwise use any character except for \Z". 4 7 AN Additional free-form characters. Provider- and/or installation specific. 5* 2 AN Device type code from Table 2.3 on page 12 6* 1 N Device Index. Provider- and/or installation specific.
^(?<airportCode>[A-Z0-9]{3})(?<providerCode>[A-Z0-9])(?<terminalCode>[A-Z0-9])(?<workstationCode>[A-Z0-9]{7})$
ABJE1CK00101
IATA CUPPS Workstation name
2018-12-17T14:38:27.000Z
Float number without letters and symbols
^[+-]?\d*?\.\d+$
.01444 10.454 4.0O0 -1.00 +4.54 SomeRandomStuffand 1.0df0 10.0cv 1.aada 4+1.00254 0.5.0 +9>>10 9.7 1>>3 -2.4 -9<<9 +10.7 +2<<5 5.5 4<<8 -8.5 -7>>9 +9.50 1.h
Float number regex
2018-11-09T21:07:50.000Z
([^\s\-]*)([a-zA-Z\-\d]+)
444
4444
2016-09-07T06:15:58.000Z
Example: http://www.facebook.com/profile.php?id=123456789 http://www.facebook.com/someusername https://www.facebook.com/0x20.be http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F2leep%2F109473355777935&amp;width=300&amp;connections=4&amp;stream=false&amp;header=false&amp;height=250 # Matches patterns such as: # https://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/#!/my_page_id => my_page_id # http://www.facebook.com/pages/Paris-France/Vanity-Url/123456?v=app_555 => 123456 # http://www.facebook.com/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/#!/page_with_1_number => page_with_1_number # http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334 => my_page_id # http://www.facebook.com/my.page.is.great => my.page.is.great https://www.facebook.com/Babies.Fan.Page https://www.facebook.com/pages/Babies.Fan.Page/121166161229757 https://www.facebook.com/pages/GHOST-Caf%C3%A9/627191887397533?fref=ts decoded: /like.php?href=http://www.facebook.com/#!/pages/Schenectady-NY/1045-The-Team-ESPN-Radio/100568296308&amp;width&amp;layout=button&amp;action=like&amp;show_faces=false& amp;share=false&amp;height=35" scrolling="no" frameborder="0" style="overflow:hidden; width:50px; height:20px;" allowTransparency="true"></iframe>--> decoded: /like.php?href=http://drupal7.arisiahosting.org&amp;send=false&amp;layout=standard&amp;width=230&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=l ucida+grande&amp;height=35" style="border:none; overflow:hidden; width:230px; height:35px;"></iframe></p> <a class="facebook share_link" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2F1045theteam.com%2Fmelo-to-knicks-but-who-called-shots%2F%3Ftrackback%3Dfbshare &t=Melo+To+Knicks+But+Who+Called+Shots%3F" title="Share on Facebook" target="_blank"> <li><a target="_blank" href="https://www.facebook.com/groups/82338447841/">14ers.com on Facebook<img src="/images/icon_globe_extratiny.png" class="picglobe"></a></li>
(?:https?:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*?(\/)?([\w\-\.]{5,})
http://www.facebook.com/profile.php?id=123456789 http://www.facebook.com/someusername https://www.facebook.com/0x20.be http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F2leep%2F109473355777935&amp;width=300&amp;connections=4&amp;stream=false&amp;header=false&amp;height=250 # Matches patterns such as: # https://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/#!/my_page_id => my_page_id # http://www.facebook.com/pages/Paris-France/Vanity-Url/123456?v=app_555 => 123456 # http://www.facebook.com/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/#!/page_with_1_number => page_with_1_number # http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334 => my_page_id # http://www.facebook.com/my.page.is.great => my.page.is.great https://www.facebook.com/Babies.Fan.Page https://www.facebook.com/pages/Babies.Fan.Page/121166161229757 https://www.facebook.com/pages/GHOST-Caf%C3%A9/627191887397533?fref=ts decoded: /like.php?href=http://www.facebook.com/#!/pages/Schenectady-NY/1045-The-Team-ESPN-Radio/100568296308&amp;width&amp;layout=button&amp;action=like&amp;show_faces=false& amp;share=false&amp;height=35" scrolling="no" frameborder="0" style="overflow:hidden; width:50px; height:20px;" allowTransparency="true"></iframe>--> decoded: /like.php?href=http://drupal7.arisiahosting.org&amp;send=false&amp;layout=standard&amp;width=230&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=l ucida+grande&amp;height=35" style="border:none; overflow:hidden; width:230px; height:35px;"></iframe></p> <a class="facebook share_link" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2F1045theteam.com%2Fmelo-to-knicks-but-who-called-shots%2F%3Ftrackback%3Dfbshare &t=Melo+To+Knicks+But+Who+Called+Shots%3F" title="Share on Facebook" target="_blank"> <li><a target="_blank" href="https://www.facebook.com/groups/82338447841/">14ers.com on Facebook<img src="/images/icon_globe_extratiny.png" class="picglobe"></a></li>
Facebook Page/Profile. No profile.php. No /groups/
2015-12-13T16:23:57.000Z
^010[0169]{1}\d{7}$
01005555555
Regex Mobile Number Validation Code
2014-11-13T21:19:58.000Z
^[01](\.\d+)?$
0.2
xslt
2015-09-02T10:59:43.000Z
(?<=(\s))([0-9]{1,2})\b(?!\s*(:|am|pm|from|to|minutes|minute|min|mins))
turn the heating on from 5 mins to 1 am until 10 mins to 2pm turn the heating on from 1 until 2 turn the heating on from 5 to 1 until 10 to 2 turn the heating on from 5 mins to 1 until 10 mins to 2 turn the heating on from 5 mins to 1 in the the morning turn the heating on from 5 mins to 1:00 until 10 mins to 2:00 turn the heating on from 5 mins to 1:00 until 10 mins to 2 turn the heating on until 3
HeatingManager - Identify Hours
2019-01-28T18:15:37.000Z
A regex to parse WhatsApp conversation files
(\d{2}\/\d{2}\/\d{4}),\s(\d(?:\d)?:\d{2})\s-\s([^:]*):\s(.*?)(?=\s*\d{2}\/|$)
09/05/2016, 13:11 - Joe Bloggs: Hey Jane how're you doing? ? what dates are you in London again? I realise that June isn't actually that far away so might book my trains down sooner than later! 09/05/2016, 13:47 - Jane Doe: Hey! I'm in london from the 12th-16th of june! Hope you can make it down :) sorry it's a bit annoying i couldn't make it there til a sunday! 09/05/2016, 14:03 - Joe Bloggs: Right I'll speak to my boss! I've just requested 5 weeks off in November/December to visit Aus so I'll see if I can negotiate some other days! When does your uni term end in November? I'm thinking of visiting perth first then going to the east coast! 09/05/2016, 22:32 - Jane Doe: Oh that'll be awesome if you come to aus! Totally understand if it's too hard for you to request more days off in june. I finish uni early November! So should definitely be done by then if you came here 09/05/2016, 23:20 - Joe Bloggs: I could maybe get a couple of days ? when do you fly into London on the Sunday? Perfect! I need to speak to everyone else to make sure they're about. I can't wait to visit but it's so far away! 09/05/2016, 23:30 - Jane Doe: I fly in at like 7.30am so I'll have that whole day! I'm sure the year will fly since it's may already haha 09/05/2016, 23:34 - Joe Bloggs: Aw nice one! Even if I can get just Monday off I can get an early train on Sunday ?
WhatsApp Message Regex
2016-08-22T20:26:48.000Z
a(?>bc|b)c|\b(?>integer|insert|in)\b|\b(integer|insert|in)\b|(?>ta|tala|talala)\b
Nom : Atomic Group Description : 1st Alternative (1er regex) : Test successivement les valeurs comprises dans la liste "Atomic Group" si a est trouvé, on passe au groupe atomique, si bc est trouvé, on passe à c, si c est trouvé, l'expression match (Exemple 1). Sinon, si a est trouvé, et que bc est trouvé, on cherche donc c, c n'est pas trouvé, l'expression ne match pas (Exemple 2). 2nd Alternative (2nd regex) : Pour notre seconde expressions on à d'abbord un classique \b indiquant qu'on ne veux pas de lettre en première position, puis si integer match, on passe directement à la fin du groupe atomic, sinon, le moteur de regex abandonne la recherche et retourne un échec sans regarder les autres expressions du groupe raison pour laquelle l'exemple 3 ne matche rien bien qu'elle contienne l'expression 'in' contrairement à l'exemple 4 3rd Alternative : Enfin, notre troisième expression va mettre en avant le principe de backtracking, gourmand en ressource et chronophage puisqu'il va d'abbord regarder s'il n'y à pas une lettre en première position, puis si integer match, il va regarder si l'on à pas une lettre en dernière position, si l'on à un lettre en dernière position alors le moteur de regex revient (backtrack) dans le groupe de capture (Capturing Group) pour regarder la seconde alternative, et ainsi de suite il va analyser toutes les alternatives jusqu'à en trouver une qui matche 4th Alternative : Le moteur de regex matche ta (Exemple 5) donc il sort du groupe et regarde ce qui est indiqué ensuite : \b il ne doit pas y avoir de lettre ensuite ors, il y en à une, le 'l', l'expression régulière ne matche pas la chaîne rechercher, le moteur de template renvoi un échec De manière plus consise, le group atomic, s'arrête dès lors que la première expression du groupe ne match pas, c'est pourquoi il faut faire attention à l'ordre dans lequel on saisie les éléments du group atomic en mettant d'abbord les chaînes les plus longues (voir 2nd Alternative) et non pas les chaînes les plus courtes (4th Alternative) Atomic group --> après avoir matché l'un des éléments du groupe, on sort et on ne revient plus en arrière Capturing group --> On test toutes les alternatives avec autant de retour en arrière (backtracking) que nécessaire jusqu'à matcher l'expression ou jusqu'à l'échec Exemple 1 : abcc Exemple 2 : abc Exemple 3 : integers Exemple 4 : insert Exemple 5 : tala
Étude - Atomic Grouping
2018-04-05T07:28:16.000Z
<? #([a-zA-Z0-9-]+).+?>
hola amigo #nombre1 <div> <input # style="hola" #nombre-incidencia type="text"/> <div *ngFor=" #nombre2 of list">{{nombre}}</div> </div> <input #nombre3 type="submit"/> <div #nombre4>Este es tu #nombreno</div> <span#nombre5>Tu nombre</span> <input #nombre6 type="submit"/> <div #nombre7>Este es tu #nombrenooo</div> <span#nombre8>Tu nombre</span>
Angular 2 property access
2015-12-30T18:35:57.000Z
JS Regex to get full filename from url even if the filename contains "-".
([-a-zA-Z0-9]+)(\.[0-9a-z]{2,5})$
http://www.blogcdn.com/slideshows/images/slides/218/885/9/S2188859/slug/l/765-1.jpg
JS Regex to get full filename from url.
2015-11-02T20:23:34.000Z
Numéros téléphone pas corrects (FR)
\(\d{3}\)(-| )\d{3}(-|\s)\d{4}
(514)-381-6273 (514) 284-3145 (514) 231-1341
Numéros téléphone pas corrects (FR)
2015-09-07T21:49:52.000Z
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats All of the above + " not followed by " 1) open parenthesis 2) letters GROUPS returned: 1) SIGN: the sign of the integer or float matched, and empty string is returned if the sign is not provided 2) INT: matches this group if the number is an integer 3) FLOAT: matches this group if the number is a float Note: 1) the name of the groups are up to you, however "sign, int and float" are the most appropriate 2) if the number is an integer, the float group (3) will NOT be matched 3) if the number is a float, the integer group (2) will NOT be matched so be careful when dealing with the order of the groups returned Probably I'll create another version where it doesn't matter if the number returned int or float, but I think I'll leave it as it is because it's more precise.
([+-]?)\s*(?:(?:(?:[^.([{]?(\d+))|(\d+\.\d+(?!\w+)))(?!\w+|\.))(?![([{])
2 + 2.2b - 2 + b + 2.2(2 - 2) + 2(- 2 - 2.2 + 2)
Match int and float numbers in polynomial
2017-04-08T21:15:28.000Z
.*mod_(\S+?)(-part-\d+)?\.(csv|json)
cid:d09004b7478a4f338bf647519edf71a3/tag:1595602064/aid:095438ff38da41e4444059fdbd9af9fd/pid:64756d6d792c484f555345424152415448454f4e2c31302e3136302e332e3232342c323032302d30372d32375432325f35385f31315a2e786d6ce3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/mod_dirlist-part-000001.json.gz
sourctype
2020-10-01T17:26:32.000Z
Matches valid internet-routable IPv4 addresses (Not RFC1918, RFC5735, RFC3927) with optional port delimited by colon. I wrote this specifically for Snort rules that look for hardcoded IPv4 addresses in the HTTP Host header field, but I imagine this may have its uses aside from that. This would have been much simpler to write using negative lookahead (NLA), but for kicks I did it without it. I know that NLA is not always supported, so this should work. If non-capture groups aren't supported either, you can just change (?: ) to ( ) and it should still work fine (\*cough\*Yara\*cough\*). Just to be clear: This expression purposefully will not match: - Addresses that start with 0 (0.X.X.X) - Loopback addresses (127.0.0.0/8) - Addresses that start with 224 through 255 (Class D and E addresses) - Private IPs (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) - APIPA (169.254.0.0/16) The port expression will match ports from 1-65535.
Host: (?:(?:(?:22[0-3]|2[01]\d|1[79][013-9]|16[0-8]|12[0-68-9]|1[013-58]\d|[2-9]\d|1?[1-9])\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d))|(?:172\.(?:25[0-5]|2[0-4]\d|1\d{2}|[4-9]\d|3[2-9]|1[0-5]|\d))|(?:192\.(?:25[0-5]|2[0-4]\d|16[0-79]|1[0-57-9][0-9]|[1-9]\d|[0-9]))|(?:169\.(?:25[0-35]|2[0-4]\d|1\d{2}|[1-9]?\d)))(?:\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)){2}(?::(?:6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3}))?[\r\n]
------------------------------------- Testing Criteria (valid and invalid): ------------------------------------- Host: 212.83.166.45:8080 Host: 87.106.149.74:443 Host: 169.172.234.14:7777 Host: 0.127.134.10:65535 Host: 127.0.0.1:23 Host: 8.8.8.8:65536 Host: 224.0.0.9 Host: 172.128.244.1 Host: 4.22.222.1 Host: 10.11.112.13 Host: 192.155.172.13:1 Host: 172.16.0.1 Host: 172.31.255.255 Host: 192.168.123.213 Host: 173.245.2.23 Host: 192.172.21.5 Host: 192.256.75.1 Host: 8.8.4.4:80 Host: 169.254.23.162 Host: 187.135.2.231 ------------------------------------- Scratch Notes: ------------------------------------- Combine them: --------- Host: (?: (?:(?:22[0-3]|2[01]\d|1[79][013-9]|16[0-8]|12[0-68-9]|1[013-58]\d|[2-9]\d|1?[1-9])\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d))| (?:172\.(?:25[0-5]|2[0-4]\d|1\d{2}|[4-9]\d|3[2-9]|1[0-5]|\d))| (?:192\.(?:25[0-5]|2[0-4]\d|16[0-79]|1[0-57-9][0-9]|[1-9]\d|\d))| (?:169\.(?:25[0-35]|2[0-4]\d|1\d{2}|[1-9]\d|\d)) ) (?:\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)){2} --------- Match 0-255: (?:\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)){2,3} Exclude Class A, D, E Address Ranges: 0 10 127 224 255 Host: (?:(?:22[0-3]|2[01]\d|1[013-9]\d|[1-9]\d|[1-9])\.) -- [v1] << Note: Forgot, since Class B address ranges will be specified, they need to be excluded in this segment as well >> 169 172 192 Host: (?:(?:22[0-3]|2[01]\d|1[79][013-9]|16[0-8]|12[0-68-9]|1[013-58]\d|[2-9]\d|1?[1-9])\.) -- [v2] Exclude Class B Address Ranges: 172.16-31 (?:172\.(?:25[0-5]|2[0-4]\d|1\d{2}|[4-9]\d|3[2-9]|1[0-5]|\d)) 192.168 (?:192\.(?:25[0-5]|2[0-4]\d|16[0-79]|1[0-57-9][0-9]|[1-9]\d|\d)) 169.254 (?:169\.(?:25[0-35]|2[0-4]\d|1\d{2}|[1-9]\d|\d)) ------------------------------------- What this PCRE excludes: ------------------------------------- 127.X.X.X 10.X.X.X 169.254.X.X 172.16.X.X 172.31.X.X 192.168.X.X 224.X.X.X (to) 255.X.X.X ------------------------------------- Now to match valid ports: ------------------------------------- 0-65535 (?::(?:6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3}))?[\r\n]
HTTP Header - Hardcoded Routable IPv4 address with optional port
2017-04-27T14:04:52.000Z
(\b(?:\w+)?\d+(?:\w+)?(?:[\-\/])?(?:\w+)?(?:\d+)?\b)
Park Avenue number 100 Baker Street number 100 Baker Street 100 The bakery shop is located on 109-111 Wharfside Street My mother's house is on 40-42 Parkway My schoolmate lives in 25b-26 Sun Street The apartment is located on R2-R3 City Quay I live in 43a Garden Walk I live in 6/7 Marine Road I live in 10-12 Acacia Ave I live in 4513 3RD STREET CIRCLE WEST I live in 1/2 Fifth Avenue number C3-H4 sawojajar Malang
street-number
2018-04-03T01:51:46.000Z
This parses http url's from the data-full-url attribute of a block of code
data-full-url=?\\"(.*?)\\"
\n<figure class=\"wp-block-gallery columns-3 is-cropped\"><ul data-carousel-extra='{\"blog_id\":1,\"permalink\":\"https:\\/\\/wakeupwithdede.com\\/2021\\/07\\/05\\/test-event\\/\"}' class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1315\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/seven_deadly_sins/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/seven_deadly_sins.jpg?fit=200%2C252&amp;ssl=1\" data-orig-size=\"200,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"seven_deadly_sins\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/seven_deadly_sins.jpg?fit=200%2C252&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/seven_deadly_sins.jpg?fit=200%2C252&amp;ssl=1\" loading=\"lazy\" width=\"200\" height=\"252\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/seven_deadly_sins.jpg?resize=200%2C252&#038;ssl=1\" alt=\"\" data-id=\"1315\" data-full-url=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/seven_deadly_sins.jpg?resize=200%2C252&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/seven_deadly_sins/\" class=\"wp-image-1315\" data-recalc-dims=\"1\"/></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1316\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/shigatsu_wa_kimi_no_uso/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/shigatsu_wa_kimi_no_uso.jpg?fit=183%2C275&amp;ssl=1\" data-orig-size=\"183,275\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"shigatsu_wa_kimi_no_uso\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/shigatsu_wa_kimi_no_uso.jpg?fit=183%2C275&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/shigatsu_wa_kimi_no_uso.jpg?fit=183%2C275&amp;ssl=1\" loading=\"lazy\" width=\"183\" height=\"275\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/shigatsu_wa_kimi_no_uso.jpg?resize=183%2C275&#038;ssl=1\" alt=\"\" data-id=\"1316\" data-full-url=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/shigatsu_wa_kimi_no_uso.jpg?resize=183%2C275&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/shigatsu_wa_kimi_no_uso/\" class=\"wp-image-1316\" data-recalc-dims=\"1\"/></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1314\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/plastic_memories/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?fit=640%2C960&amp;ssl=1\" data-orig-size=\"640,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"plastic_memories\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?fit=200%2C300&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?fit=640%2C960&amp;ssl=1\" loading=\"lazy\" width=\"640\" height=\"960\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?resize=640%2C960&#038;ssl=1\" alt=\"\" data-id=\"1314\" data-full-url=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?resize=640%2C960&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/plastic_memories/\" class=\"wp-image-1314\" srcset=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?w=640&amp;ssl=1 640w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?resize=200%2C300&amp;ssl=1 200w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/plastic_memories.png?resize=600%2C900&amp;ssl=1 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1313\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/oitnb/\" data-orig-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?fit=600%2C889&amp;ssl=1\" data-orig-size=\"600,889\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"oitnb\" data-image-description=\"\" data-medium-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?fit=202%2C300&amp;ssl=1\" data-large-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?fit=600%2C889&amp;ssl=1\" loading=\"lazy\" width=\"600\" height=\"889\" src=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?resize=600%2C889&#038;ssl=1\" alt=\"\" data-id=\"1313\" data-full-url=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?resize=600%2C889&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/oitnb/\" class=\"wp-image-1313\" srcset=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?w=600&amp;ssl=1 600w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/oitnb.jpg?resize=202%2C300&amp;ssl=1 202w\" sizes=\"(max-width: 600px) 100vw, 600px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1312\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker/\" data-orig-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?fit=3840%2C2400&amp;ssl=1\" data-orig-size=\"3840,2400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nutcracker\" data-image-description=\"\" data-medium-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?fit=300%2C188&amp;ssl=1\" data-large-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?fit=660%2C413&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"413\" src=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=660%2C413&#038;ssl=1\" alt=\"\" data-id=\"1312\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker/\" class=\"wp-image-1312\" srcset=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=1024%2C640&amp;ssl=1 1024w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=300%2C188&amp;ssl=1 300w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=768%2C480&amp;ssl=1 768w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=1536%2C960&amp;ssl=1 1536w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=2048%2C1280&amp;ssl=1 2048w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=1200%2C750&amp;ssl=1 1200w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=350%2C220&amp;ssl=1 350w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?resize=600%2C375&amp;ssl=1 600w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?w=1320&amp;ssl=1 1320w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker.jpg?w=1980&amp;ssl=1 1980w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1311\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_2/\" data-orig-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?fit=1502%2C942&amp;ssl=1\" data-orig-size=\"1502,942\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"nutcracker_2\" data-image-description=\"\" data-medium-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?fit=300%2C188&amp;ssl=1\" data-large-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?fit=660%2C414&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"414\" src=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=660%2C414&#038;ssl=1\" alt=\"\" data-id=\"1311\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_2/\" class=\"wp-image-1311\" srcset=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=1024%2C642&amp;ssl=1 1024w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=768%2C482&amp;ssl=1 768w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=1200%2C753&amp;ssl=1 1200w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=350%2C220&amp;ssl=1 350w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?resize=600%2C376&amp;ssl=1 600w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?w=1502&amp;ssl=1 1502w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_2.jpg?w=1320&amp;ssl=1 1320w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1310\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_1-2/\" data-orig-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?fit=1502%2C945&amp;ssl=1\" data-orig-size=\"1502,945\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"nutcracker_1\" data-image-description=\"\" data-medium-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?fit=300%2C189&amp;ssl=1\" data-large-file=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?fit=660%2C415&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"415\" src=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=660%2C415&#038;ssl=1\" alt=\"\" data-id=\"1310\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_1-2/\" class=\"wp-image-1310\" srcset=\"https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=1024%2C644&amp;ssl=1 1024w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=300%2C189&amp;ssl=1 300w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=768%2C483&amp;ssl=1 768w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=1200%2C755&amp;ssl=1 1200w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=350%2C220&amp;ssl=1 350w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?resize=600%2C377&amp;ssl=1 600w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?w=1502&amp;ssl=1 1502w, https://i2.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_1.jpg?w=1320&amp;ssl=1 1320w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1302\" data-permalink=\"https://wakeupwithdede.com/2021/07/05/test-event/nutcracker_1/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?fit=1502%2C945&amp;ssl=1\" data-orig-size=\"1502,945\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"nutcracker_1\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?fit=300%2C189&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?fit=660%2C415&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"415\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=660%2C415&#038;ssl=1\" alt=\"\" data-id=\"1302\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg\" data-link=\"https://wakeupwithdede.com/2021/07/05/test-event/nutcracker_1/\" class=\"wp-image-1302\" srcset=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=1024%2C644&amp;ssl=1 1024w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=300%2C189&amp;ssl=1 300w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=768%2C483&amp;ssl=1 768w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=1200%2C755&amp;ssl=1 1200w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=350%2C220&amp;ssl=1 350w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?resize=600%2C377&amp;ssl=1 600w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?w=1502&amp;ssl=1 1502w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/07/nutcracker_1.jpg?w=1320&amp;ssl=1 1320w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1304\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/cobra_kai/\" data-orig-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?fit=194%2C259&amp;ssl=1\" data-orig-size=\"194,259\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cobra_kai\" data-image-description=\"\" data-medium-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?fit=194%2C259&amp;ssl=1\" data-large-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?fit=194%2C259&amp;ssl=1\" loading=\"lazy\" width=\"194\" height=\"259\" src=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?resize=194%2C259&#038;ssl=1\" alt=\"\" data-id=\"1304\" data-full-url=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?resize=194%2C259&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/cobra_kai/\" class=\"wp-image-1304\" srcset=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?w=194&amp;ssl=1 194w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/cobra_kai.jpg?resize=150%2C200&amp;ssl=1 150w\" sizes=\"(max-width: 194px) 100vw, 194px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1305\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/daredevil/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?fit=764%2C1132&amp;ssl=1\" data-orig-size=\"764,1132\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"daredevil\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?fit=202%2C300&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?fit=660%2C978&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"978\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?resize=660%2C978&#038;ssl=1\" alt=\"\" data-id=\"1305\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/daredevil/\" class=\"wp-image-1305\" srcset=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?resize=691%2C1024&amp;ssl=1 691w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?resize=202%2C300&amp;ssl=1 202w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?resize=600%2C889&amp;ssl=1 600w, https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/daredevil.jpg?w=764&amp;ssl=1 764w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1306\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/endgame/\" data-orig-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?fit=960%2C1440&amp;ssl=1\" data-orig-size=\"960,1440\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"endgame\" data-image-description=\"\" data-medium-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?fit=200%2C300&amp;ssl=1\" data-large-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?fit=660%2C990&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"990\" src=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?resize=660%2C990&#038;ssl=1\" alt=\"\" data-id=\"1306\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/endgame/\" class=\"wp-image-1306\" srcset=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?resize=683%2C1024&amp;ssl=1 683w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?resize=200%2C300&amp;ssl=1 200w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?resize=768%2C1152&amp;ssl=1 768w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?resize=600%2C900&amp;ssl=1 600w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/endgame.jpg?w=960&amp;ssl=1 960w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1307\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/erased/\" data-orig-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/erased.jpg?fit=189%2C266&amp;ssl=1\" data-orig-size=\"189,266\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"erased\" data-image-description=\"\" data-medium-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/erased.jpg?fit=189%2C266&amp;ssl=1\" data-large-file=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/erased.jpg?fit=189%2C266&amp;ssl=1\" loading=\"lazy\" width=\"189\" height=\"266\" src=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/erased.jpg?resize=189%2C266&#038;ssl=1\" alt=\"\" data-id=\"1307\" data-full-url=\"https://i1.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/erased.jpg?resize=189%2C266&#038;ssl=1\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/erased/\" class=\"wp-image-1307\" data-recalc-dims=\"1\"/></figure></li><li class=\"blocks-gallery-item\"><figure><img data-attachment-id=\"1309\" data-permalink=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_0/\" data-orig-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?fit=1502%2C1000&amp;ssl=1\" data-orig-size=\"1502,1000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nutcracker_0\" data-image-description=\"\" data-medium-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?fit=300%2C200&amp;ssl=1\" data-large-file=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?fit=660%2C440&amp;ssl=1\" loading=\"lazy\" width=\"660\" height=\"440\" src=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=660%2C440&#038;ssl=1\" alt=\"\" data-id=\"1309\" data-full-url=\"https://wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg\" data-link=\"https://wakeupwithdede.com/2021/06/29/dede-mcguire-2/nutcracker_0/\" class=\"wp-image-1309\" srcset=\"https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=1024%2C682&amp;ssl=1 1024w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=768%2C511&amp;ssl=1 768w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=1200%2C799&amp;ssl=1 1200w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?resize=600%2C399&amp;ssl=1 600w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?w=1502&amp;ssl=1 1502w, https://i0.wp.com/wakeupwithdede.com/wp-content/uploads/2021/06/nutcracker_0.jpg?w=1320&amp;ssl=1 1320w\" sizes=\"(max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" /></figure></li></ul></figure>\n
find http urls in data-full-url attribute
2021-07-06T13:23:55.000Z
^0(\.[0-9]+)?$|^[1-9][0-9]*(\.[0-9]+)?$
0 1 01 01.1 1.1 11.1234 5123 1351523.123 0.1234 0.0 0.000 0.00001
number price without comma (usd, krw)
2019-11-11T05:52:27.000Z
Validate Email in progress
(?:[A-Z{1}a-z\d]*\@{1}[A-Za-z\d]*\.{1}[A-Za-z\d]+)
email validation
2016-02-05T19:10:31.000Z
^\s+,?\[([A-Za-z0-9]+)\]\s=\s([A-Za-z0-9\@]+),?
[UserLoginName] = @UserLoginName, ,[UserExternalId] = @UserExternalId ,[UserName] = @UserName ,[Password] = @Password ,[IsWindowsUser] = @IsWindowsUser ,[Active] = @IsActive ,[MustChangePassword] = @MustChangePassword ,[PasswordExp] = @PasswordExp ,[PasswordModifiedDate] = @PasswordModifiedDate ,[PasswordPolicyName] = @PasswordPolicyName ,[LoginTry] = @LoginTry ,[PermissionsRefreshDate] = @PermissionsRefreshDate ,[FirstName] = @FirstName ,[LastName] = @LastName ,[EmailAddress] = @EmailAddress ,[DefaultStoreId] = @DefaultStoreId ,[EmployeeNumber] = @EmployeeNumber ,[Phone] = @Phone ,[MobilePhone] = @MobilePhone ,[Address1] = @Address1 ,[Address2] = @Address2 ,[PostalCode] = @PostalCode ,[PostalAddress] = @PostalAddress ,[Title] = @Title ,[Language] = @Language ,[BirthDate] = @BirthDate ,[EmploymentDate] = @EmploymentDate ,[ResignationDate] = @ResignationDate ,[BankaccountNo] = @BankaccountNo ,[SocialSecurityNo] = @SocialSecurityNo ,[Comment] = @Comment ,[Country] = @Country ,[vudGUID] = @VudGUID ,[CreatedByUserId] = @CreatedByUserId ,[ModifiedByUserId] = @ModifiedByUserId ,[CreatedDate] = @CreatedDate ,[ModifiedDate] = @ModifiedDate ,[UseSingleSignOn] = @UseSingleSignOn ,[Salt] = @Salt ,[IsSystemUser] = @IsSystemUser
sql dapper isnull
2018-10-03T10:49:21.000Z
^The\.Walking\.Dead\.S06.+VOSTFR.+x264
The.Walking.Dead.S06E06.PROPER.VOSTFR.HDTV.x264-3ARLY
ruTorrent RSS filter
2015-11-15T02:50:39.000Z
^(?:\+971|00971|0)(?!3|8)((?:2|3|4|5|6|7|9|50|51|52|55|56)[0-9]{7,})$
+971555565454
UAE phone numbers
2015-08-20T12:35:27.000Z
-?\d+(\.\d+)?
20105 -10005 10.25
2
2015-10-17T05:33:33.000Z
[\pL\pN!#$%&\'\*\+\-\/\=\?\^\_`\{\|\}\~\@\.\[\]]
Unicode email sanitising
2014-04-29T13:00:22.000Z
\((\w+)(\w+)?\)
/* # combined # TargetLink outport: SWC_ClutchControlCC/lib_SWC_CC02/S_iBLDCSetPnt */ Rte_Write_SP_ClutchCtrlC02_S_iBLDCSetPnt(V_SpdCtrlC02_iBLDCSetPnt); Rte_Write_SP_ClutchCtrlC02_S_iBLDCSetPnt((int) V_SpdCtrlC02_iBLDCSetPnt);
get parameter of function
2015-08-27T06:39:09.000Z
[{][0-9a-fA-F]{8}[-](?>[0-9a-fA-F]{4}[-]){3}[0-9a-fA-F]{12}[}]
MsiExec.exe /I{7E8B9F22-63F2-4AE1-A815-71680B8E9C52} /qn
Extract GUIDs
2019-05-09T21:28:31.000Z
排除掉标签中带href的 php使用方法 ` /** * 将HTML中的关键词 替换为关键词链接 * @param string $html 处理的html * @param array $keyWord 关键词数组 * @param array $link 链接数组 * @param int $changeNum 同一关键词替换次数 * @param bool $newWindow 链接是否新窗口打开 * @return string|string[]|null */ public function linkKeyword($html, array $keyWord, array $link, $changeNum = 1, $newWindow = true) { $re = '/<([a-zA-Z\d]+?)([^<>]|(?!.*href).*)>([^<>]*?)({key})([^<>]*?)(<\/\1>)/m'; $con = $newWindow ? '<$1$2>$3<a href="{link}" target="_blank">$4</a>$5$6' : '<$1$2>$3<a href="{link}">$4</a>$5$6'; $regex = $cons = []; foreach ($keyWord as $key => $item) { $regex[] = str_replace('{key}', $item, $re); $cons[] = str_replace('{link}', $link[$key], $con); } return preg_replace($regex, $cons, $html, $changeNum); } `
<([a-zA-Z\d]+?)([^<>]|(?!.*href).*)>([^<>]*?)(小编)([^<>]*?)(<\/\1>)
<p> <link rel="stylesheet" href="/public/lib/froala/css/froala_style.min.css"> </p> <span>高校在线教学国际平台建设启动?这是怎么回事呢?下面就跟小编一起来了解一下事情的始末吧!</span> <a href="">高校在线教学国际平台建设启动?这是怎么回事呢?下面就跟小编一起来了解一下事情的始末吧!</a> <p><span style='color: rgb(34, 34, 34); font-family: Consolas, "Lucida Console", "Courier New", monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;'>高校在线教学国际平台建设启动?这是怎么回事呢?下面就跟小编一起来了解一下事情的始末吧!</span>&nbsp;</p> <span style='color: rgb(34, 34, 34); font-family: Consolas, "Lucida Console", "Courier New", monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;'>以上就是小编给大家分享的相关情况介绍,希望对大家有所帮助!最后,小编送大家一句话:当许多人在一条路上徘徊不前时,他们不得不让开一条大路,让那珍惜时间的人赶到他们的前面去。&mdash;&mdash;苏格拉底</span>
匹配html中的关键词
2020-08-17T06:58:39.000Z
^([a-z0-9]+(?:([_-]+|[.])[\w-]+|[_-])*)@([a-z0-9]+(?:([.-]\w+)*\.)[a-z]{2,13})$
^([a-z0-9]+(?:([_-]+|[.])[\w-]+|[_-])*)@([a-z0-9]+(?:([.-]\w+)*\.)[a-z]{2,13})$
Email Validation General (miscrosoft email rule)
2023-08-03T07:08:31.000Z
通过下面的表达式可以匹配出HTML中的标签属性。
<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[\\^'">\\s]+))?)+\s*|\s*)\/?>
<html> <a></a> </html>
匹配HTML标签
2017-06-22T05:34:03.000Z
Used by CORS to check for localhost/private IP origins Check out the unit tests at [/r/2Ofume/1/tests](https://regex101.com/r/2Ofume/1/tests)
^(https?:\/\/)?(localhost|lvh\.me|::1?|fe80::1|((::f{4}:)?(1(0|27)\.\d{1,3}|172\.(1[6-9]|2\d|3[01])|192\.168)\.\d{1,3}\.\d{1,3}))(:\d{1,5})?
Localhost/private ip origin check
2017-07-09T11:13:17.000Z
(?P<digito>[0-9])|(?P<palavra>[a-zA-Z]+)|(?P<naoReconhecido>.)
Exercicio 1
2015-08-31T17:15:38.000Z
((?<=[ )()']where)|(?<=[ )()']and)|(?<=[ )()']o[rn])|(?<=[ )()']if)|(?<=[ )()']when)|(?<=having))+(\s|\()+[)(,'+_¥£$#\@\w\[\]\.\s]+like\s*\(?\s*(('((\w|%|'{2})*)')\s*\+)*\s*@p\d+\s*(\+('%'))*\)
select * from a where #myTable$@_¥£.$@_¥£#columnName like ('%'+@p2+'%') select * from a where #myTable$_¥£.$_¥£#columnName like ('%'+@p2+'%') (\w|\[|\]|\.|\s|'|\+|\(|\)|\,) select a from b where h like ('%'+@p2+'%') having b.d like ('%'+@p2) )join c on a.b like (@p2+'%') and a.b like (@p2) if a like ('%abc24''as'+@p2+'%') case when a like ('%'+@p2+'%') where (((a like ('%'+ @p2+'%')))) where a + 'b' like ('%'+@p2+'%') where concat(a,b) like ('%'+@p2+'%') or ltrim(a) like ('%'+@p2+'%') select * from a where concat(a,b) like 'a' and c like d or ltrim(a) like ('%'+@p2+'%') where isnull(ltrim(a), '0') like ('%'+@p2+'%') where a + 'b' LIKe ('%'+@p2+'%') vICM_EVENTlike roadshowev0like_ where upper(roadshowev0like_.EVENT_NAME) like ('%'+@p1+'%') or upper(roadshowev0like_.EVENT_SYMBOLlike) like ('%'+@p2+'%') and e_.EVENT_SYMBOLike like('%'+@p2+'%') from vICM_INVESTOR investor0_ where (upper(investor0_.OrgId) like ('%'+@p1+'%') or upper(investor0_.Name) like ('%'+@p2+'%')) and investor0_.IsDeactivated=@p3 order by investor0_.Name asc where ((h.g) + upper(concat(investor0_.OrgId, 'd') + (a.d)) like ('%'+@p1+'%') or upper(investor0_.Name) like ('%'+@p2+'%')) and investor0_.IsDeactivated=@p3 order by investor0_.Name asc where (a.b like ('%'+@p2+'%')) and d.g like ('%'+@p2+'%') (where a.b like ('%'+@p2) if a like ('%'+@p2) join a on b.d like ('%'+@p2) // not supported where a like 'b' and c like ('%'+@p2+'%') where a like (' '+@p1+'%') // supported where a like ('%'+@p1+'%') and c like ('%'+@p2+'%')
paramaterised sql like expressions for sybase
2016-08-10T12:00:11.000Z
^[^Cc]\bFIX\ *(\(.+\))?\ *=
LGC regex
2014-12-05T22:56:00.000Z
Atleast one charector Atleast one number Min 6 and Max 20 Special charectors optional
^(?=.*\d)(?=.*[a-zA-Z])[0-9a-zA-Z$&+,:;=?@#|'<>.-^*()%!]{6,20}$
abcdef1234567890lkjh
Password Regex
2016-03-04T07:23:05.000Z
Fraction conversion regex for CS 1671
(?P<numerator>\d+)(\s?)\/(\s?)(?P<denominator>\d+)
Number Processing: Fractions
2016-01-23T20:21:33.000Z
Validate IP address and IP address range to. xxx.xxx.xxx.xxx and xxx.xxx.xxx.xxx/xxx
^0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*(([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])|(([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])(\/([1-9]?\d|1\d\d|2[0-4]\d|25[0-5]))))$
1.1.1.142 128.12.34.9 0.0.0.0/128 1.1.1.1 13.23.76.90/128
Ip address Validator
2016-04-26T04:51:55.000Z
Regex considering node modules folder and sub folder
^(.*)?\/?node_modules[\/]?(?:(.*)?[\/]?)$
test/node_modules tes/t/node_modules test/node_modules/ test/node_modules/test test/node_modules/test/set/test/set
Regex considering node modules folder and sub folder
2018-09-27T08:56:46.000Z
\d+\K\d{3}(?=\h£)
2015 64 Fiat 500 S Hatchback 1.2 Manual Petrol Silver White 13000 £7,495 2012 12 Fiat 500 Lounge Hatchback 1.2 Manual Petrol White 9000 £5,495 2014 14 Fiat Panda Pop Hatchback 1.2 Manual Petrol White 30000 £4,695 2009 09 Fiat 500 Pop Hatchback 1.2 Manual Petrol Yellow 31000 £4,295
Find end digits of number
2017-06-30T13:39:49.000Z
.htaccess wordpress redirect uploads to production domain
^wp-content\/uploads\/(?!(2021\/06||2021\/07)\/).+$
wp-content/uploads/2021/06/list-block-3.svg wp-content/uploads/2021/06/list-block-3.svg wp-content/uploads/2021/06/list-block-3.svg wp-content/uploads/2021/07/list-block-3.svg wp-content/uploads/may/05/list-block-3.svg wp-content/uploads/2021/05/list-block-3.svg wp-content/uploads/2020/02/list-block-3.svg
.htaccess wordpress redirect uploads to production domain
2021-07-03T06:41:05.000Z
Screencast.com video url regex
^.*^((?:https?:)?\/\/)?(www\.)?(screencast\.com)(\/users)\/([a-z0-9_-]+)\/folders\/([a-z0-9%_-]+)\/media\/([a-z0-9_-]+)(?:\/)?$
https://www.screencast.com/users/arundquist/folders/General%20Physics%20II/media/e2ff7bd7-61ba-4325-b06b-8275e2b94f16
Screencast.com video url regex
2021-12-03T09:50:55.000Z